On Tue, 2008-10-28 at 17:11 +0000, John Levon wrote:
> Yes, but uttering "-D_XOPEN_SOURCE=500 -D__EXTENSIONS__" is oxymoronic,
> since you're saying you both want a particular standards environment,
> and you don't.

No, it is not oxymoronic.  

Without __EXTENSIONS__, the headers are to define only those symbols
required by the standards.

With __EXTENSIONS__, they can define other things as well.

> I suggested in IRC some kind of I_WANT_LATEST define that would always
> be current (and thus could always break your legacy code) to solve this
> kind of issue.

I suspect that if we did define it, I_WANT_LATEST would, under the
covers, turn into

        -D__EXTENSIONS__ -D_XOPEN_SOURCE=LARGEST_KNOWN_VALUE

> Fixed the _B_FALSE thing is just papering over the issue IMHO.

It's one of many details which would need to be fixed in order to have
an effective I_WANT_LATEST #define

                                                - Bill

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to