Need fixed headers on Unixware 7 to handle "va_list"

Orion Poplawski orion@bvt.com
Wed Sep 16 13:51:00 GMT 1998


Unixware 7 can define "va_list" in three different include files: <stdio.h>,
<stdarg.h>, and <varargs.h>.  A "fixed" include file is not provided for
<stdio.h>, though there is for the other two.  Also, it appeares the UW7
uses __VA_LIST as a tag for the definition, which does not appear to be
handled in the fixed include files.

The following C code will show the problem:

#define _XOPEN_SOURCE  /* Needed to load va_list_ in stdio.h */

#include <stdarg.h>
#include <stdio.h>

int main(void) {
}

/usr/egcs/bin/gcc -v
Reading specs from
/usr/egcs/lib/gcc-lib/i586-UnixWare7-sysv5/egcs-2.91.57/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)

../configure --with-gcc-version-trigger=/usr2/src/egcs-1.1b/gcc/version.c --
host
=i586-UnixWare7-sysv5 --prefix=/usr/egcs --enable-shared --norecursion

Included are the unixware 7 include files.

-----
Orion
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stdarg.h
Type: text/x-c
Size: 3099 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19980916/d9726740/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stdio.h
Type: text/x-c
Size: 10394 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19980916/d9726740/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: varargs.h
Type: text/x-c
Size: 2843 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/19980916/d9726740/attachment-0002.bin>


More information about the Gcc-bugs mailing list