http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51665
--- Comment #1 from Karl Krach <gcc-bugzilla at bluespirit dot la> 2011-12-23 13:38:22 UTC --- g++ *.cpp --save-temps MyClass.o:MyClass.cpp:function MyClass::doSomething(): error: undefined reference to 'MyClass::M_SOME_CONSTANT' collect2: ld returned 1 exit status