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]

Re: #pragma interface (was Re: ia64 c++ abi exception handling)


Benjamin Kosnik <bkoz@redhat.com> writes:

> These pragmas are removed in the current sources. There is no use of
> pragma interface/implementation in the libstdc++-v3 source tree.
...
> I think it should be clearly marked as deprecated, especially if the
> only reason it's around it to carry legacy code from a single client
> for a chip that's officially dead. (gak: i960)
> 
> ..especially if it's getting in the way of clear linkage
> implementations, or (my pet peeve) a pre-compiled header solution.
> Linkage is hairy enough as it is, why complicate otherwise rediculous
> requirements with additional complexity? 

Actually, the customer who uses b.out is the same customer that's
paying us for PCHs.  You can imagine that if we had to take out b.out
support in C++ to make PCHs work, they wouldn't think that was very
useful---and if we insisted that this is what they were getting,
they'd probably think twice before funding any such work again.

I would think that the GCC group should encourage such customers.
Without this project, the integrated preprocessor would still be
`experimental', and precompiled headers wouldn't even be in the design
phase (instead in the nearly-ready-to-contribute phase).

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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