[PATCH 5/5] obstack usability
Alan Modra
amodra@gmail.com
Sat Jul 26 12:30:00 GMT 2014
On Sat, Jul 26, 2014 at 07:48:21AM -0400, Paul Eggert wrote:
> On 07/26/2014 01:57 AM, Alan Modra wrote:
> >When using obstack.h/c in other projects it isn't very nice that gnulib
> >headers like exitfail.h and gettext.h need to be present. Far worse
> >is a dependency on gnulib's version of stdlib.h for __attribute_pure__
> >and _Noreturn. This only works if a project is willing to import
> >rather a lot of gnulib configury magic
>
> Sure, but the downside of the proposed change is that it'd break
> programs like 'grep' that require the exitfail.h etc. semantics.
Hmm, OK.
> What projects are you thinking about? That is, what current
> non-glibc projects have copies of obstack.h and obstack.c in their
> source code, but not exitfail.h etc.?
binutils, gdb, and gcc via libiberty. I guess we can live with a
patched obstack.[ch].
--
Alan Modra
Australia Development Lab, IBM
More information about the Libc-alpha
mailing list