This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++: Three new warnings while building the library (patchincluded)
- To: Gabriel Dos Reis <gdr at codesourcery dot com>
- Subject: Re: libstdc++: Three new warnings while building the library (patchincluded)
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Fri, 2 Mar 2001 09:31:23 -0800 (PST)
- cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, neil at daikokuya dot demon dot co dot uk
> | yeah this is due to the char_traits change. Gaby probably didn't see it
> | because char is unsigned char on solaris (? I think).
>
> Hmm, I'm lost here :-( could you enlighten me?
2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
* include/bits/char_traits.h char_traits<char>::int_type: Change
to `int' to match 21.1.3.1/2.
* testsuite/21_strings/char_traits-int_type.C: New test.
this is where the new warnings come from.
> As for the line number reported in diagnostics, that is a regression
> some of us have been seeing since a while -- I'm unable to say exactly
> when that began. In a personal code, it happens that the compiler
> gets both file name and line number wrong. I think that is something
> coming from the CPP side.
yeah phil reported this to Neil a long time ago:
http://gcc.gnu.org/ml/libstdc++/2001-02/msg00246.html
Neil, any word on tracking this down?
-benjamin