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: [PCH] driver, documentation


On Monday, August 19, 2002, at 02:17  PM, Geoff Keating wrote:

X-Sieve: cmu-sieve 2.0
Date: Mon, 19 Aug 2002 13:17:20 -0700
Cc: gcc-patches@gcc.gnu.org
From: Devang Patel <dpatel@apple.com>


On Saturday, August 17, 2002, at 08:32  PM, Geoffrey Keating wrote:

+@item
+The precompiled header file must be produced for the same language as
+the current compilation. You can't use a C precompiled header for a
C++
+compilation.

+@item
+Certain command-line options must be defined in the same way as when
the
+precompiled header was generated. At present, it's not clear which
+options are safe to change and which are not; the safest choice is to
+use exactly the same options when generating and using the precompiled
+header.
+@end itemize
Do you want to allow mix & match different flavors of same language,
c89 vs c99?
I wasn't planning to spend time to make this work, but if it works
already I'll be happy.
It is a good idea, IMO, if we make explicit that it does not work.

-Devang


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