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