va_list warnings on Solaris?

Skip Montanaro skip at
Wed Aug 28 19:16:27 CEST 2002

I haven't used a Solaris system in several years.  Today I am building 2.2.1
on a SunOS 5.8 system (is that Solaris 8?) using gcc 2.95.3 (not exactly
sure what version of glibc - how do I check without the rpm command?).  I
get lots of warnings about va_list being redefined, e.g.:

    gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I../Include  -DPy_BUILD_CORE -o Objects/abstract.o ../Objects/abstract.c
    In file included from ../Include/stringobject.h:10,
                     from ../Include/Python.h:83,
                     from ../Objects/abstract.c:4:
    /opt/sfw/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/include/stdarg.h:170: warning: redefinition of `va_list'

Is this to be expected?


Skip Montanaro
skip at

More information about the Python-list mailing list