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]

va_list declared twice on SunOS 5.7


The following code declares va_list twice on SunOS 5.7:

  #define _XOPEN_SOURCE 500
  #include <stdarg.h>
  #include <stdio.h>


  /usr/include/stdio.h:118: warning: redefinition of `va_list'
  /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.96/include/stdarg.h:90: warning: `va_list' previously declared here

I get the same result for gcc-2.95.2 and egcs-20000626.

--
Patrik Hägglund

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