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: Pieter du Preez <pdupreez at gmail dot com>
- To: newlib at sourceware dot org
- Date: Sun, 31 Jan 2016 21:57:38 +0100
- 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>
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