[PATCH] Automated the generation of the __NEWLIB__, __NEWLIB_MINOR__ and __NEWLIB_PATCHLEVEL__ macros.

Jeff Johnston jjohnstn@redhat.com
Tue Feb 2 23:40:00 GMT 2016


----- 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.



More information about the Newlib mailing list