Re: [hatari-devel] patch to silence a warning |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Jun 13, 2013 02:13:49 PM, hatari-devel@xxxxxxxxxxxxxxxxxxx wrote:
On 13/06/2013 09:05, David Savinkoff wrote:
>> Hi,
>>
>> Here is a patch to silence this warning:
>>
>> [ 44%] Building C object src/CMakeFiles/hatari.dir/acia.c.o
>> hatari.4570/src/acia.c: In function ‘ACIA_IKBD_Write_CR’:
>> hatari.4570/src/acia.c:767: warning: ‘rts_bit’ may be used uninitialized in this function
>>
> Hello
>
> I fixed the warning, but my gcc version didn't report it. It's gcc 4.7.3.
> What version are you using and which compiler flags ?
>
> Nicolas
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)
"-march=pentium3 -O3 -pipe -Wl,--as-needed -ltermcap"
David