2009/6/9 Ian Lance Taylor: > > I believe that POSIX specifices that munmap takes a void * argument. Is > there some preprocessor define we can use to direct the Solaris header > files to compile in POSIX mode? If so, it should work to add it to > CFLAGS (using +=) in TOPLEVEL/config/mh-solaris.
I tripped up on the same issue a while ago, this should work: -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 See http://www.kayari.org/doc/c++/suncc.html for other options. Jonathan