This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug pch/30702] New: PCH vs not closing a function in a header
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Feb 2007 18:34:51 -0000
- Subject: [Bug pch/30702] New: PCH vs not closing a function in a header
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
t.h:
int f(void)
{
--------- cut -----
t.c
#include <t.h>
return 0;
}
--------- cut -----
gcc t.c
works
but
gcc t.h && gcc t.c
fails to compile t.h.
As far as I can tell this is not a regression
--
Summary: PCH vs not closing a function in a header
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: pch
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30702