This is the mail archive of the gcc-patches@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: libstdc++: Three new warnings while building the library (patchincluded)


> | 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


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