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]

Re: cpp oddities. was: sparc-sun-solaris2.8 headers: fixinc, cpplib



Neil Booth <neil@daikokuya.demon.co.uk> writes:

> Joe Buck wrote:-
> 
> > While this is a good thing for end users, it may also tend to degrade
> > the quality of the libraries we supply if we are not careful.  In
> > particular, libstdc++ headers should be as warning-free as they can be
> > made without resort to such measures.  If we have a warning that cannot
> > be silenced in a system header without making the code worse, it is an
> > ill-considered warning and, at least, should not go into -Wall (as users
> > will not be able to silence the warning without making their code worse).
> 
> True.  However, like say glibc, would this not be noticed during
> development compiles, when they aren't installed as system headers?

For glibc, a number of headers are never used during the build, they
are just copied into place.  I guess this is much less likely for
libstdc++ but it's still possible.

-- 
- Geoffrey Keating <geoffk@geoffk.org>

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