Re: Silly warnings from python-SunOS-5.8-sun4d-fafner

Guido van Rossum <[email protected]> Fri, 02 Aug 2002 17:13:48 -0400
Newsgroups gmane.comp.python.snake-farm.user
Message-ID <[email protected]>
> > This looks (also from looking at the full file) that either _NO_PROTO
> > is defined, or _ALL_SOURCE is not defined (I don't think _KERNEL would
> > be defined :-).  I doubt that _NO_PROTO is defined, because then we'd
> > get tons of warnings on account of -Wrequire-prototypes.  Could you
> > see if it doesn't define _ALL_SOURCE, and what the story behind that
> > is?
> 
> No such luck:
> 
>   #error _ALL_SOURCE defined
>   #error _NO_PROTO not defined
>   #error _KERNEL not defined
>   #error _H_UNISTD defined
> 
> The file also has its atime updated by a make command, so it's likely
> to be used.
> 
>   #ifdef _AIX
>   extern int fdatasync(int);
>   #endif
> 
> ... solves the problem, but isn't very beautiful. 

Did this get resolved, or is it still an open mystery?

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