The following patch allows glibc 2.3.1 and 2.3.2 both to compile using gcc 3.3, which otherwise
would refuse to do so.
--- stdio-common/sscanf.c.old 2003-06-06 11:12:15.000000000 -0400
+++ stdio-common/sscanf.c 2003-06-06 11:13:35.000000000 -0400
@@ -27,9 +27,7 @@
/* Read formatted input from S, according to the format string FORMAT. */
/* VARARGS2 */
-sscanf (s, format)
- const char *s;
- const char *format;
+sscanf (const char *s, const char *format, ...)
Steps to Reproduce:
Created attachment 12883 [details, diff]
patch to allow glibc to compile using gcc 3.3
mentioned this on irc after the day of the accidental unmasking of glibc 2.3.2. adding drobbins to cc.
I dont know if there is any reason to stick with glibc 2.3.1 on amd64 but this at least allows it to compile with gcc 3.3. it is apparently the same patch used currently for glibc 2.3.2, only without patching the copyright notice to add the year 2003 (eh?).
I rather have this as a wontfix. If you need to use gcc-3.3, then rather