newlib.hin in CVS pollutes namespace

Jeff Johnston jjohnstn@redhat.com
Thu Oct 16 22:06:00 GMT 2008


Joel Sherrill wrote:
> Hi,
>
> In newlib cvs, the generate file newlib.h now
> includes a number of commonly used names by
> autoconf packages like PACKAGE_XXX and HAVE_
> constants.  This .h file gets installed.
>
> Since a lot of files include newlib.h, it leads
> to name conflicts and redefinition warnings in
> other packages.  Are these really necessary and
> can they be removed?
>
> These got added in late September (rev 1.14->1.15)
> and the log entry says regenerated for new libtool.
>
> If so, I have no idea how to do so.
Fixed.  Steve Ercey did some changes for the new libtool and I didn't 
notice he
regenerated newlib.hin from configure.in again.  This causes the stupid 
PACKAGE_
macros to come back which were removed as of 03/2007.

-- Jeff J.



More information about the Newlib mailing list