Re: Re: Build python-SunOS-5.7-sun4m-sandra was successful.

Guido van Rossum <[email protected]> Sat, 27 Jul 2002 11:02:16 -0400
Newsgroups gmane.comp.python.snake-farm.user
Message-ID <[email protected]>
> > --
> > /mp/slaskdisk/tmp/sfarmer/python/dist/src/Modules/socketmodule.c: In function `sock_initobj':
> > /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: In function `socket_fromfd':
> > /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/)