This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug pch/14400] Cannot compile qt-x11-free-3.3.0
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: Geoffrey Keating <geoffk at apple dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-bugzilla at gcc dot gnu dot org
- Date: 03 Apr 2004 22:38:46 -0500
- Subject: Re: [Bug pch/14400] Cannot compile qt-x11-free-3.3.0
- References: <20040303083528.14400.schmid@snake.iap.physik.tu-darmstadt.de><20040401011718.8875.qmail@sources.redhat.com><m3zn9ue7dt.fsf@gossamer.airs.com><3E8711F6-84DA-11D8-98AA-000A95B1F520@apple.com>
Geoffrey Keating <geoffk@apple.com> writes:
> I think that PCH that fails on one case out of a thousand is better
> than PCH that fails in one thousand cases out of one thousand.
Any thoughts on how difficult it would be to, when a PCH can not be
loaded at the correct address, skip the PCH and try for the original
header files? We'd want to issue a warning, but the result will still
be better then a compiler crash, particularly since the crash will be
awkward to work around without manually removing the PCH. Of course,
the result will not necessarily be equivalent--the original headers
might not be present, or might have been modified since the PCH was
created.
Ian