http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57044
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2013-04-23 Ever Confirmed|0 |1 Severity|major |normal --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-04-23 10:38:27 UTC --- Please read http://gcc.gnu.org/bugs Is this really what you're compiling? "nemaspace" and "..." should not be there and uint32_t is not declared. Please provide the *real* source you're compiling, as well as the output of 'g++ -v' When I fix those obvious errors in your code I get a correct diagnostic with no segfault from G++ 4.7.2 c.cc: In constructor 'myclass::myclass(T_*)': c.cc:7:16: error: 'mylib' has not been declared