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: gcc merrily compiles empty files


Michael Meissner wrote:
> 
> The -pedantic option warns about this (of course, it warns about lots of other
> things as well).  Speaking as a programmer, I can certainly imagine uses for
> empty files (for example for conditional debug code).

I don't mean technically empty in the sense of a file that ends up empty
because conditions aren't met. I'm talking about a physically
0-byte-length source.

Henry

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