This is the mail archive of the gcc-bugs@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: a bug?


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


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