This is the mail archive of the
mailing list for the newlib project.
Re: feature macros in stdlib.h
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: newlib at sourceware dot org
- Date: Mon, 13 Jan 2014 09:26:27 -0600
- Subject: Re: feature macros in stdlib.h
- Authentication-results: sourceware.org; auth=none
- References: <52D1F107 dot 3050504 at oarcorp dot com> <52D39739 dot 7000800 at embedded-brains dot de> <20140113090957 dot GA1823 at calimero dot vinschen dot de>
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
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
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985