Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

duplicate symbol error when linking contracts consisting of multiple .cpp files #539

Closed
arhag opened this issue Jun 25, 2019 · 1 comment

Comments

@arhag
Copy link
Contributor

arhag commented Jun 25, 2019

The EOSIO.CDT eosiolib header files include implementations of certain functions, such as eosio::send_deferred, in the header files. When trying to link a contract consisting of multiple cpp files that each include those problematic header files (such as transaction.hpp), the linker gives a duplicate symbol error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants