feature macros in stdlib.h

Corinna Vinschen vinschen@redhat.com
Mon Jan 13 15:37:00 GMT 2014

On Jan 13 09:26, Joel Sherrill wrote:
> On 1/13/2014 3:09 AM, Corinna Vinschen wrote:
> > On Jan 13 08:35, Sebastian Huber wrote:
> >> Hello Joel,
> >>
> >> I would use the FreeBSD mechanism for this, e.g.
> > I agree.  After the last years patches to cdefs.h, we're good to use the
> > visibility macros throughout, rathe than just __STRICT_ANSI__ and
> Just to follow up, the issue seems to be that  g++ defines
> __STRICT_ANSI__ when you
> use -std=XXX in some cases. I am investigating porting Qt and thus lots
> of C++ which
> expects POSIX files.
> I have hacked on my installed headers and it looks like at least a half
> dozen files
> require touching. If a file gets touched, I would personally like to do
> it top to bottom
> and not restrict fixing just the method Qt needs.
> It would be helpful to have some translation advice on the Open Group
> commentary and headers. Or should I just look at FreeBSD and use the
> same thing?

Sure.  There's nothing wrong taking FreeBSD as role model I think.


Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20140113/1760574e/attachment.sig>

More information about the Newlib mailing list