This is the mail archive of the gcc-bugs@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: c++/8549: --pedantic-errors problems on RedHat 6.1


Zack Weinberg wrote:
bangerth@dealii.org writes:


   So I think, the whole thing is attributable to the following:
   Somewhen an extension in gcc was deprecated and the kernel
   folks changed their header files accordingly.I think the
   only way to make newer gccs work on these old systems
   would be to fixinclude the respective header files, but I
   doubt someone would like to put much energy in backporting
   gcc to such old systems.

Note that the kernel has nothing to do with this.  The header
bits/mathinline.h is part of GNU libc.
The point is, this is a case where --pedantic doesn't give
a warning, but --pedantic-errors fails the compile. That's the
bug. The fact that it's in an older glibc header file isn't
neccesarily relevant to that point. Either --pedantic should
give a warning about it too, or --pedantic-errors shouldn't
give an error.

Of course the "old system" issue is relevant to the priority which one places on fixing the bug, so I'm not saying the origin shouldn't be discussed,
but I just want to remind folks what I thought the issue was.

Marc Mengel


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