On Wed, Jun 27, 2007 at 07:01:09AM -0400, Hal Rosenstock wrote: > > (and I'd advocate using -std=gnu99, but I never compile with > > VC++ :P). > > > > 'gcc -ansi -D_POSIX_SOURCE_' as a minimum is also pretty good. > > How about: > > gcc -Wall -D_XOPEN_SOURCE=600
I'd recommend -D_POSIX_C_SOURCE=200112 as the 'highest' setting for portable code. This sould reflect IEEE 1003.1-2004 (aka SUSv3) Most of the XPG specific stuff is not as easy to get good documentation on, IMHO. Jason _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
