STL and -Weffc++ (was: Bug in optimizer...)

Jason Merrill jason@cygnus.com
Wed Jan 28 11:48:00 GMT 1998


>>>>> Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:

> On Wed, 28 Jan 1998, Peter Leven wrote:
>> [...] the standard template library does not pass the -Weffc++ tests. 
>> This makes it rather annoying to use the option with one's one code,
>> since one must find the messages relating to one's own code in between
>> the messages for the standard library.

> Indeed that is _quite_ annoying.

> Jeff (et al.), are you willing to accept patches that fix this?

No, it's not worth diverging from the SGI sources.  Also, some of the
effc++ warnings cannot be avoided without unreasonable changes.

> We could also Cc: those patches to someone@sgi.com (any appropriate
> address, anyone?) to get it fixed in the long term, but for egcs this
> should be fixed ASAP, IMHO.

Matt Austern <austern@sgi.com> is the guy I've been dealing with.

Jason



More information about the Gcc-bugs mailing list