This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: How to suppress warning?
- From: lrtaylor at micron dot com
- To: <eljay at adobe dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Thu, 23 Oct 2003 09:28:07 -0600
- Subject: RE: How to suppress warning?
Why is it that the preprocessor and compiler can't just be smart enough
to handle it? I might have expected something like this ten years ago,
but it surprises me that it's not smarter now. Now, I'm sure it has to
do with complications in the parser, but still...
Lyle
-----Original Message-----
From: Eljay Love-Jensen [mailto:eljay@adobe.com]
Sent: Thursday, October 23, 2003 9:21 AM
To: Lev Assinovsky; Gcc-Help (E-mail)
Subject: RE: How to suppress warning?
Hi Lev,
Why I'm not surprised that the Windows' source files are malformed. :-)
If I'm not mistaken, the newline-at-eof is required.
Especially important for the preprocessor, such as a #endif at the end
of the file (since the preprocessor is less forgiving), or when someone
has a //-comment as the last line in the file.
--Eljay