This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: cpp seems not to include # line "file" output for empty files
- To: "E. Jay Berkenbilt" <ejb at ql dot org>
- Subject: Re: cpp seems not to include # line "file" output for empty files
- From: Horst von Brand <vonbrand at sleipnir dot valparaiso dot cl>
- Date: Sun, 08 Oct 2000 21:57:23 -0400
- cc: gcc-bugs at gcc dot gnu dot org
"E. Jay Berkenbilt" <ejb@ql.org> said:
> With gcc 2.96-20000731 as included with vanilla RedHat Linux 7.0
> (i386) cpp does not provide # line ... output for include files that
> don't generate any output. This is very bad for automatic dependency
> generators. Create the following two files:
gcc-2.97 from CVS as of 20001006 (can't get later ones, the connection gets
stuck in SYN_SENT) gives:
# 1 "a.c"
# 1 "a.h" 1
# 2 "a.c" 2
In any case, this is not an officiel version, take it up with Red Hat's bug
reporting system.
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Vin~a del Mar, Chile +56 32 672616