c++/8549: --pedantic-errors problems on RedHat 6.1
Marc Mengel
mengel@fnal.gov
Wed Nov 13 15:24:00 GMT 2002
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
More information about the Gcc-bugs
mailing list