This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: LPGL (was "GCC2 merging")
- To: Joe Buck <jbuck at synopsys dot com>
- Subject: Re: LPGL (was "GCC2 merging")
- From: Jason Merrill <jason at cygnus dot com>
- Date: 23 Oct 1998 10:58:54 -0700
- Cc: kenner at vlsi1 dot ultra dot nyu dot edu, egcs at cygnus dot com, gcc2 at gnu dot org
- References: <199810231632.JAA08566@atrus.synopsys.com>
>>>>> Joe Buck <jbuck@Synopsys.COM> writes:
> I suggest
> "As a special exception, if other files use macros or inline functions, or
> instantiate templates from this file ..."
OK.
> However, it may be wise to have different language for headers than for
> .cc files. The .cc files would start with
> "As a special exception, if you compile this file and link
> it with other files to produce an executable ..."
> to make clear that the intent is for the .cc files to be used as a
> library, rather than ripped up and turned into inline functions which
> could then be used arbitrarily in proprietary code.
It doesn't seem to me that the licence would allow people to rip up the
library arbitrarily.
> On the other hand, one possible concern is that with multiple variants
> of special exceptions, it seems that we need permission of the copyright
> owner (in this case, official FSF approval, however this is to be handled)
> if any code is to be moved from a .cc file to an .h file.
> So maybe it's better just to use the same one everywhere, if people don't
> think a real risk is created.
Yep. I think moving code between templates and non-templates will be
common enough that we should use the same exception.
Jason