This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cpp seems not to include # line "file" output for empty files


"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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]