Mike Sullivan wrote: [CC:'ing tools-compilers at opensolaris.org that the people there take a look...] > Roland Mainz wrote: > >> xc99 was already in Makefile.master. I've added the other options as: > >> # XPG6 > >> XPG6MODE= -D_XOPEN_SOURCE=600 > >> XPG6MODE_EXT= $(XPG6MODE) -D__EXTENSIONS__=1 > > > > Erm, I suggest to keep "-D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1" together > > and drop the "standalone" |XPG6MODE| (it may even be usefull to add > > "-xc99=%all" at the front of this line since you can't use _XOPEN_SOURCE > >> = 600 without enabling C99 mode first). > > Though using $(C99_ENABLE) would be better (or $(C99MODE). Particularly > since we use -xc99=all not %all because that % hoses something (I > think some configure's break but not sure, I can't find any > info on that so I may have been told about it.
Are you sure both "-xc99=all" and "-xc99=%all" do the same stuff (AFAIK the answer is "yes"... but then I am wondering why the '%' is used/allowed...) ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)
