[OpenIndiana-discuss] struct msghdr and _XPG4_2

Aurélien Larcher aurelien.larcher at gmail.com
Wed May 25 14:53:10 UTC 2016


On Wed, May 25, 2016 at 4:48 PM, James Carlson <carlsonj at workingcode.com>
wrote:

> On 5/25/2016 9:55 AM, Aurélien Larcher wrote:
> > On Wed, May 25, 2016 at 3:25 PM, James Carlson <carlsonj at workingcode.com
> >
> > 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         <carlsonj at workingcode.com>
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>



-- 
---
Praise the Caffeine embeddings


More information about the openindiana-discuss mailing list