Peter Schuller wrote: > > >I just realized that this does not help given the current behavior of > > > mman.h. __EXTENSIONS__ does not cause mincore() to be defined. So my > > > original question stand, albeit modified with __EXTENSIONS__. > > > > It wants you to include <unistd.h>, it seems. > > Just for completeness in the ML archives (I will file a bug): > > madvise() has the same problem as mincore(), except madvise() is *NOT* in > unistd.h. > > A recursive find of all .h files in /usr/include show that mman.h is the only > header file in /usr/include to declare madvice(), and it is strucutred such > that _D__EXTENSIONS__ will NOT cause it to be declared, as previously noted > for mincore(). > > So unless I am once again missing something further, this too is a bug.
AFAIK this is a bug... almost 1/6 of all the "-erroff=" switches we use (note: We use "-effoff=" switches per *.o file, not globally (which results in a quite larger list since ksh93 in OS/Net is compiled as XPG6/C99 application)) in the ksh93-integration prototype004 are now thanks to these problems. ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [EMAIL PROTECTED] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;) _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
