a bug?

Alexandre Oliva oliva@lsd.ic.unicamp.br
Sun Feb 6 18:58:00 GMT 2000


On Feb  6, 2000, David Dibble <djdibble@cats.UCSC.EDU> wrote:

>  * scanf returns -1 (float scan) for a +  or - character and 
>  * fails to scan (char scan) on GCC > 2.9 and
>  * returns +1 (char scan) for same and succesfully scans character on GCC 
> ~ 2.7

AFAICT, nothing has changed in GCC to alter the behavior.  This is
most likely a change in GNU libc, which is a separate project from
GCC, so you'd better discuss this issue with its maintainers.

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them



More information about the Gcc-bugs mailing list