Skip to content

fix multiple definitions if linking multiple object files#1

Open
sstiller wants to merge 1 commit intosails:masterfrom
sstiller:fix-multiple-definitions
Open

fix multiple definitions if linking multiple object files#1
sstiller wants to merge 1 commit intosails:masterfrom
sstiller:fix-multiple-definitions

Conversation

@sstiller
Copy link

If the created program is built from multiple source files including cpptempl.h, the linker complains about multiple definitions of the functions. This can be fixed by using inline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant