Re: Warning using -Wconversion and -Ox in gcc 4.5 and 4.6 but not in previous releases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El día 8 de marzo de 2011 01:41, Ian Lance Taylor <iant@xxxxxxxxxx> escribió:
> José Luis García Pallero <jgpallero@xxxxxxxxx> writes:
>
>> El día 7 de marzo de 2011 15:28, Cedric Roux <cedric.roux@xxxxxxxxxx> escribió:
>>>> But why in previous gcc versions the warning didn't appears. And
>>>> strspn() is a common function in string.h. I don't understand why the
>>>> call to strspn() with correct arguments emits a warning.
>>>
>>> Because it's most certainly a bug.
>>
>> Can anyone upload a bug report to gcc bugzilla or gcc-bug mailing
>> list? I'm not subscribed
>
> It's not clear to me whether this is a gcc bug or a glibc bug.
>
> Consider the -fcond-mismatch option.

The warning does not disappear with -fcond-mismatch

-- 
*****************************************
José Luis García Pallero
jgpallero@xxxxxxxxx
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux