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][patch] Print plugin versions


On Tue, 7 Apr 2009, Rafael Espindola wrote:

> The attached patch makes the compiler (cc1, cc1plus, ...) print the
> version of the plugin it has loaded when given --version. I am not
> sure if this is the best way to do it.  In particular:
> 
> *) Should it be mandatory for the plugin to specify a version? If so,
> it is probably better to change the plugin_init signature instead of
> adding new plugin_event as the patch does.

I think all plugins should be required to specify a version and 
bug-reporting information; they may also provide other help if desired.

-- 
Joseph S. Myers
joseph@codesourcery.com


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