This is the mail archive of the gcc@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: plugin_is_GPL_compatible mangling


Joern Rennecke wrote:

> #ifdef __cplusplus
> extern "C" {
> #endif
> extern int plugin_is_GPL_compatible;
> #ifdef __cplusplus
> }
> #endif

I think that's a good idea; I don't think that at this point we've made
any plugin compatibility guarantees.  (In the future, I think we should
-- but only when we have a much more structured plug-in API.)

> Also, the type we suggest in the documentation is int, but some people
> might have choosen a different type to be on the safe side not to use GFDL
> code (pasted from the manual) together with GPL code

"extern int foo" is not something that is going to be covered by
copyright; there's no expression in something like that.  I don't think
anybody should be worried.

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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