This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [RFC] : Compiling libstdc++ with warnings on


Paolo Carlini wrote:

>chris jefferson wrote:
>
>>Every so often someone brings up some reason libstdc++ should compile
>>with a higher warning level. I decided to see how hard it is to compile
>>the test suite with -Wextra, and got the following:
>>
>>1) There are a small number of bugs in the testsuite headers (all
>>functions without a return statement which don't return void)
>>2) A large number of "unused variables" in various tests (easy to fix
>>with the unused attribute).
>>
>Well, I must dmit that I'm quite surprised that only -Wextra catches
>that kind of problems (at -O2!)...
>  
>
In fact, the real problem is that we are missing -Wall... ;)

Anyway, the substance of the issue stay, as my opinion.

Paolo.


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