Some GDB files won't compile with GCC 4.1, when -Werror is used

Maxim Grigoriev maxim@tensilica.com
Tue Jul 25 06:19:00 GMT 2006


>> I don't get this problem with gcc 4.1.2.  I don't know which version of
>> GCC is more correct.

The source code looks fine to me. So it seems to be a "Red Hat 
4.1.0-3"-specific (mis)behavior.

-- Maxim

Daniel Jacobowitz wrote:
> On Mon, Jul 24, 2006 at 05:41:08PM -0700, Maxim Grigoriev wrote:
>   
>> Hello everyone,
>>
>> My codeline is synchronized with the main GDB CVS sources.
>> Am I the only individual who's unable to compile .../gdb/p-valprint.c 
>> and .../gdb/cp-valprint.c with GCC 4.1 ?
>> Host is i686-pc-linux-gnu.
>>
>>     
>>>>>>> uname -a
>>>>>>>               
>> Linux .... 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686 
>> i386 GNU/Linux
>>
>>     
>>>>>>> gcc --version
>>>>>>>               
>> gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)
>> Copyright (C) 2006 Free Software Foundation, Inc.
>>     
>
> I don't get this problem with gcc 4.1.2.  I don't know which version of
> GCC is more correct.
>
>
>   



More information about the Gdb mailing list