bug-glibc
[Top][All Lists]
Advanced

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

sscanf misdefined


From: Adam Langley
Subject: sscanf misdefined
Date: Thu, 17 Jul 2003 16:00:27 +0100
User-agent: Mutt/1.4.1i

 From the glibc-2.3.2.tar.bz2 sources on 
ftp://ftp.mirror.ac.uk/sites/ftp.gnu.org/gnu/glibc

the file stdio-common/sscanf.c doesn't define sscanf with a '...' at 
the end of it's argument list; gcc dies with an error about this.

Adding it seems to correct the problem (though I also had to change the
argument list the the most recent style):
        sscanf (const char *s, const char *format, ...)

GCC 3.3, binutils 2.14

*Cross compiling for x86-64*

-- 
Adam Langley                                      address@hidden
http://www.imperialviolet.org                       (+44) (0)7906 332512
PGP: 9113   256A   CC0F   71A6   4C84   5087   CDA5   52DF   2CB6   3D60




reply via email to

[Prev in Thread] Current Thread [Next in Thread]