This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: error: "no newline at end of file"


On Wed, Mar 28, 2007 at 01:23:45AM +0000, Joseph S. Myers wrote:
> In C, a pedwarn is a warning by default, an error with -pedantic-errors.
> 
> In C++, a pedwarn is an error by default, a warning with -fpermissive.

OK, so the change is that pedwarns from the preprocessor were previously
warnings by default in C++, and were made errors to match the rest of C++?

I suppose that makes sense, but I think it's an item for the release
notes, so people are warned that they might have some cleaning to do.


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