[1] tmp.hpp contains only include guard # g++ -Wall -O2 tmp.hpp tmp.hpp: file not recognized: File format not recognized collect2: ld returned 1 exit status
[2] tmp.hpp ie empty. # g++ -Wall -O2 tmp.hpp /usr/lib/gcc/i686-pld-linux/3.4.5/../../../crt1.o(.text+0x18): In function `_start': init.c: undefined reference to `main' collect2: ld returned 1 exit status -- Summary: precompilationi fails on *.hpp headers. Product: gcc Version: 3.4.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: pch AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pluto at agmk dot net GCC build triplet: *-linux GCC host triplet: *-linux GCC target triplet: *-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25323