[v3] libstdc++/12854

Gabriel Dos Reis gdr@integrable-solutions.net
Tue May 18 14:04:00 GMT 2004


Zack Weinberg <zack@codesourcery.com> writes:

| Gabriel Dos Reis <gdr@integrable-solutions.net> writes:
| > | Using -Weffc++ with libstdc++ without these patches is pretty much
| > | impossible.
| >
| > The compiler should not be warning in system headers in the first
| > place.  Something is going wrong there.
| 
| It's probably a case of the warning issues when the objectionable
| construct is *used*, outside the system header?

A simple case is when user writes this

     #include <vector>

     int main() { std::vector<int> v; }

-Weffc++ spits out nonsensical remarks in what is consdered system
 headers. 

-- Gaby



More information about the Libstdc++ mailing list