This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/25323] New: precompilationi fails on *.hpp headers.
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Dec 2005 02:57:11 -0000
- Subject: [Bug pch/25323] New: precompilationi fails on *.hpp headers.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[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