This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bootstrap failures on solaris


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]