[Bug c/39646] New: __FILE__ breaks for empty file name
neil at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Apr 5 13:05:00 GMT 2009
GCC rejects the following strictly conforming TU with -pedantic-errors
extern int x;
#line 24 ""
extern char z[sizeof __FILE__ == 1];
--
Summary: __FILE__ breaks for empty file name
Product: gcc
Version: 4.1.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: neil at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39646
More information about the Gcc-bugs
mailing list