This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]