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: Linux egcs sscanf of float skips a leading zero


> Problem: when trying to read a floating-point field with sscanf, a
> leading zero gets skipped.

Thanks for your bug report. That does not sound like a compiler bug,
but like one in the C library, which is developed in a separate
project. Please use the glibcbug script to report C library bugs.

Anyway, I tried compiling your code with both egcs 1.1.2, and gcc 2.95
on my system, and it compiled and ran fine in both cases. I run glibc
2.1.3.

Regards,
Martin

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