a question about fix-header.c

Zack Weinberg zack@codesourcery.com
Thu Jan 20 19:04:00 GMT 2005


Bruce Korb <bkorb@veritas.com> writes:

> "fix-header.c" fixes headers just like "fixincludes", but in a much
> different way and it _still_ lives in the gcc directory.  Its job is
> to ensure that POSIX defined interfaces are in their correct header
> files.  "free" is among the interfaces it wants to ensure exists in
> stdlib.h.  fix-header and fixincludes don't cooperate very well.  It
> would be good to munge any useful stuff fix-header does into
> fixincludes.

IMO fix-header should just be deleted.  What it does is only useful
when your C library was written in K+R days, and even then it's
arguable.

zw



More information about the Gcc mailing list