You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
see #734
The duplication is indeed due to several .cpp compiling and creating their version of the same symbols. And linkers may or not accept that. We know that these symbols are the same functions, the duplication is, er, harmless. Could yo try to add --allow-multiple-definition
as a switch to the linker (ld)
On OSX with GCC (gcc-11 & c++-11 provided by Brew) I have a very large number of duplicate symbol and the link fails.
#include "instantiate_templates.hpp"
(and not at the beginning ?)
List : datatypes.cpp, all files basic_op_*.cpp, objects.cpp, ofmt.cpp, ifmt.cpp ...
(grep -ni instantiate src/*pp)
The text was updated successfully, but these errors were encountered: