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 27/03/07, Martin Michlmayr <tbm@cyrius.com> wrote:
* Manuel López-Ibáñez <lopezibanez@gmail.com> [2007-03-27 13:13]:
> So if you are seeing this in C++, the change was intentional because
> PR24924 was fixed.

I think it would be worth mentioning this on
http://gcc.gnu.org/gcc-4.3/changes.html since quite a bit of C++ code
is affected by this change.  Manu, can you submit a patch for this?

I can submit a patch saying that:


C++ preprocessor emits errors by default for nonconformant code,
following the C++ frot-end default behaviour. Users can use the
-fpermissive option to downgrade these diagnostics from errors to
warnings.

Does it sound right to you?

Manuel.


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