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: [patch][plugins] Check the gcc version


> The sole use of gcc_version in plugin.c is in function
> try_init_one_plugin, which is guarded by the macro ENABLE_PLUGIN.
> Since ENABLE_PLUGIN is set to 0 on the Darwin systems, the function
> was compiled out. Rafael, I think we need to guard the inclusion of
> plugin-version.h with ENABLE_PLUGIN as well.

I just committed exactly that. Sorry for breaking the build.

> Le-chun
>

Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047


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