RFC - Remove support for PCH post 4.8

Diego Novillo dnovillo@google.com
Tue Nov 27 23:14:00 GMT 2012


On Tue, Nov 27, 2012 at 2:20 PM, Chris Lattner <clattner@apple.com> wrote:
> On Nov 27, 2012, at 8:00 AM, Diego Novillo <dnovillo@google.com> wrote:
>> I admit that I'm partly fishing here, but my proposal is based on the following:
>>
>> * The implementation of PCH in GCC is atrocious and hard to maintain.
>> * The next C++ standard is likely to define modules
>> (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3347.pdf)
>> * The user-base for PCH is negligibly small (here's where I'm mostly guessing).
>> * PCH is absolutely useless for C.
>
> PCH is used extensively in Objective-C code and many C++ applications that also build for windows.  I'm not sure how important these communities are though...

Ah, thanks.  I had forgotten about obj-c.  I'm not sure how much usage
this feature gets and it doesn't seem like it would be easy to find
out (other than do a release without it and wait for the fan mail ;)


Diego.



More information about the Libstdc++ mailing list