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: ANSIfy cp/parser.c



On Thursday, January 9, 2003, at 02:14 PM, Per Bothner wrote:

Neil Booth wrote:
o Later, add ObjC and GCC extensions; I'm not sure which first.

The existence of Objective-C++ does mean that ObjC extensions
would have to be added to both the C and C++ parsers. That is
an advantage to combining them.

In fact, there may be maintainance advantages to having a *single*
executable thta handles C, C++, ObjC and ObjC++.

PCH brings one more reason to have one unified front end.

Here at Apple, typical large program is made up C as well as Objective-C
sources. Some of them have source files for all four language in one project!
Usually one common set of large header is included in all source files.
Which means many PCHs (each around ~20 MBs) for one prefix header.
Not only space becomes one issue, but it also puts extra burden on build
system to make all of them.

-Devang

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