public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joe Buck <Joe.Buck@synopsys.com>
To: tilps@hotmail.com (Gareth Pearce)
Cc: gcc@gcc.gnu.org
Subject: Re: gcc 3.2's cpp breaks configure scripts
Date: Wed, 31 Jul 2002 12:44:00 -0000	[thread overview]
Message-ID: <200207311645.JAA25032@atrus.synopsys.com> (raw)
In-Reply-To: <OE18Cys8qXKypji8il50000ca65@hotmail.com> from "Gareth Pearce" at Jul 31, 2002 11:15:51 PM


> > cpp is spitting out a warning about changing the search order of include
> > directories, and this is breaking a _ton_ of configure scripts.  I found
> > this when I started rebuilding Mandrake with gcc-3.2 branch.

Gareth Pearce writes:
> This, from what little i have seen, seems to be due to the fact that many
> configure scripts segments are extremely overly picky.  They take any output
> at all as to mean that its failed.  Really it should seem to me that they
> should be looking for errors, or specific warnings rather then just anything
> at all.

Just the same, it's a lot to ask the distributors of GNU/Linux and BSD
systems to fix every configure script in the world.

Maybe a workaround for the time being is to have a gcc option that
suppresses this one warning; people can then write something like

CC="gcc -Wno-check-include-order" ./configure ...

to get around the problem.

However, if this warning appears, it is likely that the programs in
question won't build properly on OSes that ship bad C headers, that have
to be fixed by fixincludes.  In that case, it may well be that the gcc
command lines will wind up with something like -I/usr/include which means
that the fixed headers will get bypassed.

  reply	other threads:[~2002-07-31 16:45 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-31  8:58 Jeff Garzik
2002-07-31  9:07 ` Gareth Pearce
2002-07-31 12:44   ` Joe Buck [this message]
2002-08-01 10:32     ` Phil Edwards
2002-08-01 11:15       ` Neil Booth
2002-08-01 12:31         ` Phil Edwards
2002-07-31  9:19 ` Andreas Schwab
2002-07-31  9:39   ` Jeff Garzik
2002-07-31  9:39     ` Jan-Benedict Glaw
2002-07-31  9:54       ` Michael Matz
2002-08-01  9:45         ` Kai Henningsen
2002-08-01 12:40           ` Kevin Handy
2002-08-01  9:45   ` Kai Henningsen
2002-08-01 14:47     ` Joe Buck
2002-08-08 20:39       ` Roger Corman
2002-08-09 12:07         ` Joe Buck
2002-07-31 23:52 Gareth Pearce
2002-08-01  0:03 Gareth Pearce
2002-08-01  0:07 ` Jakub Jelinek
2002-08-01  0:15 Gareth Pearce
2002-08-01  0:35 ` Jakub Jelinek
     [not found] <no.id>
2002-08-01 12:02 ` John David Anglin
     [not found] <200208021635.g72GZDrs008047@hiauly1.hia.nrc.ca>
2002-08-01 14:52 ` H}kan Hjort
2002-08-01 20:09   ` John David Anglin
2002-08-02 11:01   ` Bruno Haible
2002-08-02 12:29     ` John David Anglin
2002-08-02 14:42       ` Paul Eggert
2002-08-03 13:48         ` Nix
2002-08-03 14:55           ` John David Anglin
2002-08-03 15:24             ` Zack Weinberg
2002-08-03 19:34           ` Gareth Pearce
2002-08-03 14:42         ` John David Anglin
2002-08-03 15:36           ` Gabriel Dos Reis
2002-08-03 16:07           ` Zack Weinberg
2002-08-03 20:33             ` John David Anglin
2002-08-03 21:58               ` Miles Bader
2002-08-03 21:58             ` Daniel Jacobowitz
2002-08-01 16:54 Gareth Pearce
2002-08-11 10:27 John David Anglin
2002-08-12 14:40 ` Nix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200207311645.JAA25032@atrus.synopsys.com \
    --to=joe.buck@synopsys.com \
    --cc=gcc@gcc.gnu.org \
    --cc=tilps@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).