This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: improve install-no-fixedincludes Makefile target


On Mon, Oct 11, 2010 at 10:14 AM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> At least on modern Linux I don't think I ever saw any useful fix
>> out of fixincl. What it usually does is to "fix" a lot of header files
>> which are not used, but the distribution happened to put into
>> /usr/include. And typically it's just fixes for obscure things
>> that are only a problem at -pedantic or so.

Then it sounds like it is behaving correctly.  Header files that get
published in /usr/include ought to be pedantically correct.
Still, fixes tend to not be discarded once they are in there.
As long as they are doing no harm, nobody notices that they
are not doing anything useful.  "Someday" I plan to augment it
for non-released versions to "phone home" with a list of which
fixes got applied message and, thus, know which can likely be
pulled.  Unfortunately, I have a day job.....

> People regularly patch fixincl, it's still useful on non-Linux systems and
> more generally on systems where you cannot afford to upgrade frequently.

At least it doesn't take a half hour to run any more.....


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