Discussion:
[farm-report] Build python-SunOS-5.7-sun4m-sandra was successful.
Anders Qvist
2002-07-26 18:24:46 UTC
Permalink
Build all succeeded. Any warnings are appended below.
--
In file included from ../python/dist/src/Include/stringobject.h:10,
from ../python/dist/src/Include/Python.h:83,
from ../python/dist/src/Include/pgenheaders.h:10,
/sw/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include/stdarg.h:170: warning: redefinition of `va_list'
/usr/include/stdio.h:118: warning: `va_list' previously declared here
make CFLAGS="-D_VA_LIST"

... seems to take care of this.
--
Anders "Quest" Qvist

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks
to the Internet, we know this is not true." -- Robert Wilensky
Anders Qvist
2002-07-27 08:35:15 UTC
Permalink
Post by Anders Qvist
Build all succeeded. Any warnings are appended below.
--
In file included from ../python/dist/src/Include/stringobject.h:10,
from ../python/dist/src/Include/Python.h:83,
from ../python/dist/src/Include/pgenheaders.h:10,
/sw/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include/stdarg.h:170: warning: redefinition of `va_list'
/usr/include/stdio.h:118: warning: `va_list' previously declared here
make CFLAGS="-D_VA_LIST"
... seems to take care of this.
I've added this to the make on sandra to get rid of the warnings, but
I'm not sure wether that's the right way or wether it should be
checked by configure. Does anyone else get this problem on SunOS 5.7?
--
Anders "Quest" Qvist

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks
to the Internet, we know this is not true." -- Robert Wilensky
Anders Qvist
2002-07-27 09:50:05 UTC
Permalink
Build all succeeded. Any warnings are appended below.
--
/mp/slaskdisk/tmp/sfarmer/python/dist/src/Modules/socketmodule.c:1959: warning: function declaration isn't a prototype
/mp/slaskdisk/tmp/sfarmer/python/dist/src/Modules/socketmodule.c:2439: warning: function declaration isn't a prototype
Two of these are the offenders. Is SIGPIPE not supposed to be defined
under SunOS 5.7?

#ifdef SIGPIPE
(void) signal(SIGPIPE, SIG_IGN);
#endif

(Notice no more va_list warnings. Yay!)
--
Anders "Quest" Qvist

"We've all heard that a million monkeys banging on a million typewriters
will eventually reproduce the entire works of Shakespeare. Now, thanks
to the Internet, we know this is not true." -- Robert Wilensky
Guido van Rossum
2002-07-27 15:02:16 UTC
Permalink
Post by Anders Qvist
--
/mp/slaskdisk/tmp/sfarmer/python/dist/src/Modules/socketmodule.c:1959: warning: function declaration isn't a prototype
/mp/slaskdisk/tmp/sfarmer/python/dist/src/Modules/socketmodule.c:2439: warning: function declaration isn't a prototype
Two of these are the offenders. Is SIGPIPE not supposed to be defined
under SunOS 5.7?
#ifdef SIGPIPE
(void) signal(SIGPIPE, SIG_IGN);
#endif
No, it's the function prototype hidden in SIG_IGN. This has been
discussed before, it seems there's nothing to be done except either
editing the system header file or removing the -Wstrict-prototypes
option from the gcc call.

BTW, a few other platforms have about a dozen warnings like this; why
does sandra only have this one? Or don't you do a full rebuild each
time?

--Guido van Rossum (home page: http://www.python.org/~guido/)

Loading...