Re: [PATCH] newlib: filter out versions from newlib.h to simplify autoreconf

Sebastian Huber <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On 15.10.23 11:32, Mike Frysinger wrote:
> We've been manually editing newlib.hin after generating it with 
> autoheader to drop the version defines that we keep in the separate 
> _newlib_version.h header. This is confusing for people, and is an easy 
> source of mistakes/errors. Since we're already running sed on newlib.h 
> during configure to filter out defines we don't want to expose, add the 
> version macros there too. This way we don't have to manually edit 
> newlib.hin. This simplifies the autoreconf step in exchange for a 
> slightly more complicated configure+sed step, but seems worth the trade-off.

Thanks, this is a nice improvement for occasional contributors like me.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: [email protected]
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.