http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46013 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-10-14 10:59:33 UTC --- that preprocessed file refers to a precompiled header, student.h.gch, which isn't included can you reproduce it without using precompiled headers?