RE: How to suppress warning?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] 
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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux