[Bug c++/67155] Linking of complex constexpr static class member failing across files
JamesMikeDuPont at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Sat Aug 8 03:08:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67155
--- Comment #1 from James Michael DuPont <JamesMikeDuPont at googlemail dot com> ---
The compiler output :
g++ -std=gnu++11 test.cpp test.hpp
/tmp/cceBFmJM.o: In function `S::S()':
test.cpp:(.text+0x35): undefined reference to `S::u'
collect2: error: ld returned 1 exit status
Makefile:2: recipe for target 'test' failed
make: *** [test] Error 1
More information about the Gcc-bugs
mailing list