This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Automated the generation of the __NEWLIB__, __NEWLIB_MINOR__ and __NEWLIB_PATCHLEVEL__ macros.
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Pieter du Preez <pdupreez at gmail dot com>
- Cc: newlib at sourceware dot org
- Date: Tue, 2 Feb 2016 18:40:45 -0500 (EST)
- Subject: Re: [PATCH] Automated the generation of the __NEWLIB__, __NEWLIB_MINOR__ and __NEWLIB_PATCHLEVEL__ macros.
- Authentication-results: sourceware.org; auth=none
- References: <20160125201938 dot GA19917 at bling> <20160128103806 dot GD10851 at calimero dot vinschen dot de> <2044933968 dot 16515818 dot 1453987626889 dot JavaMail dot zimbra at redhat dot com> <20160129142013 dot GA28886 at bling> <1805653431 dot 17249188 dot 1454080285047 dot JavaMail dot zimbra at redhat dot com> <1430949434 dot 69566 dot 1454255799762 dot JavaMail dot zimbra at embedded-brains dot de> <20160131205738 dot GB14801 at bling>
----- Original Message -----
> On Sun, Jan 31, 2016 at 04:56:39PM +0100, Sebastian Huber wrote:
> > Could we please not use magic defines to change the behaviour of headers.
> > This makes it hard to figure out dependencies. Its much easier to trace
> > simple #include directives.
>
> So, in other words:
> We generate a newlib_version.h at the same level as newlib.h
> is, and include newlib_version.h from both newlib.h and
> libc/include/sys/features.h
>
Yes, but we should probably call it _newlib_version.h.
-- Jeff J.