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: plugins & PCH are incompatible ...


On Tue, Apr 28, 2009 at 09:38, Basile STARYNKEVITCH
<basile@starynkevitch.net> wrote:

> 2009-04-28 ÂBasile Starynkevitch Â<basile@starynkevitch.net>
>
> Â Â Â * c-pch.c: Added include "plugin.h".
> Â (pch_init) Issue an error when generating a PCH file with plugins.

OK with a test case.

For the general issue of plugins+pch I'm content with an error message
for now.  If there is sufficient interest, Andrew's suggestion seems
reasonable.  Plugins would have to put their signature in the pch file
so that they can be checked when the file is loaded.


Diego.


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