-
Notifications
You must be signed in to change notification settings - Fork 3
Description
gcc is more picky about link order than some linkers. Current build fails with:
g++ -mtune=core2 -march=core2 -msse3 -mfpmath=sse -m64 -O3 -o example libuc.a example.o
example.o: In function print_person(JAD::UniversalContainer&)': example.cpp:(.text+0x4f): undefined reference toJAD::UniversalContainer::operator[](char const*)'
example.cpp:(.text+0x5c): undefined reference to JAD::UniversalContainer::operator std::string() const' example.cpp:(.text+0x69): undefined reference toJAD::UniversalContainer::operator[](char const*)'
example.cpp:(.text+0x76): undefined reference to JAD::UniversalContainer::operator std::string() const' example.cpp:(.text+0x83): undefined reference toJAD::UniversalContainer::operator[](char const*)'
example.cpp:(.text+0x8b): undefined reference to `JAD::UniversalContainer::operator char() const'
....