On Wed, May 25, 2016 at 4:48 PM, James Carlson <[email protected]> wrote:
> On 5/25/2016 9:55 AM, Aurélien Larcher wrote: > > On Wed, May 25, 2016 at 3:25 PM, James Carlson <[email protected] > > > > wrote: > > > >> It's not terrifically hard to do -- setting -D_XOPEN_SOURCE=600 on a > >> compiler compatible with at least c99 and linking with -lxnet should set > >> you up with a SUSv3 environment -- but, no, it's not automagical. > >> > > > > True but the main issue is that on other systems compliance with > standards > > may be incorrect... and so would software written on them. > > Even on FreeBSD I have seen _XOPEN_SOURCE=500 assuming c99. > > I think Alexander found more of them hardcoded in source files while > > testing gcc 5.3... > > Yikes. That's not right. Compilation environment issues like this > should be dealt with in Makefiles and/or build scripts. Putting them in > the source files just makes life more difficult. :-/ > Indeed ;) > > -- > James Carlson 42.703N 71.076W <[email protected]> > > _______________________________________________ > openindiana-discuss mailing list > [email protected] > http://openindiana.org/mailman/listinfo/openindiana-discuss > -- --- Praise the Caffeine embeddings _______________________________________________ openindiana-discuss mailing list [email protected] http://openindiana.org/mailman/listinfo/openindiana-discuss
