This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc merrily compiles empty files
- To: Michael Meissner <meissner at cygnus dot com>
- Subject: Re: gcc merrily compiles empty files
- From: Henry Sobotka <sobotka at axess dot com>
- Date: Tue, 20 Jun 2000 20:03:32 -0400
- CC: gcc-bugs at gcc dot gnu dot org
- References: <394FFB87.20EB@axess.com> <20000620193251.49061@cse.cygnus.com>
- Reply-To: sobotka at axess dot com
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