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
