other/2873: Bogus fixinclude of stdio.h from glibc 2.2.3
Joseph Myers
jsm28@cam.ac.uk
Sat May 19 10:16:00 GMT 2001
>Number: 2873
>Category: other
>Synopsis: Bogus fixinclude of stdio.h from glibc 2.2.3
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 19 10:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Joseph S. Myers
>Release: 3.1 20010519 (experimental)
>Organization:
none
>Environment:
System: Linux digraph 2.2.19 #1 Wed Mar 28 16:01:38 UTC 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-cvs/configure --prefix=/opt/gcc/mainline --disable-shared --enable-threads=posix --with-system-zlib
>Description:
Fixincludes makes bogus changes to <stdio.h> from glibc 2.2.3. This
applies to both the mainline and 3.0 branch, and is a regression from
2.95.
>How-To-Repeat:
The following are the diffs generated. This change is bogus; the
va_list typedef under __USE_XOPEN is for Single Unix Specification
conformance.
--- /usr/include/stdio.h Fri Apr 27 16:17:00 2001
+++ /opt/gcc/mainline/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stdio.h Sat May 19 15:45:40 2001
@@ -1,3 +1,12 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "/usr/include/stdio.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
/* Define ISO C stdio on top of C++ iostreams.
Copyright (C) 1991, 1994-1999, 2000, 2001 Free Software Foundation, Inc.
@@ -65,9 +74,9 @@
#ifdef __USE_XOPEN
# ifdef __GNUC__
-# ifndef _VA_LIST_DEFINED
-typedef _G_va_list va_list;
-# define _VA_LIST_DEFINED
+# ifndef _DUMMY_VA_LIST_DEFINED
+typedef _G_va_list __not_va_list__;
+# define _DUMMY_VA_LIST_DEFINED
# endif
# else
# include <stdarg.h>
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list