libcvd-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libcvd-members] Change in license.


From: Edward J. Rosten
Subject: [libcvd-members] Change in license.
Date: Mon, 30 Jun 2008 11:14:31 -0600 (MDT)
User-agent: SquirrelMail/1.4.8-4.0.1.el5.lanl.4

It has been pointed out recenty that the LGPL doesn't work for C++
libraries involving templates and inlined functions, since the code
resides in the header files, and not in the .so file. This is particularly
applicable to TooN, since there is no .so at all, but libCVD also has lots
of template code.

The intent of the LGPL for these libraries is that using the library in a
program puts the library user under no obligations. However, if they
distribute something compiled against a modified library, then the
modified library must be made available under the LGPL as well.

>From recent discussions, the license which appears to do this correctly is
the GPL+Exceptions used in the GNU C++ standard library. The exception
clause is as follows (taken from one of the header files):

------
As a special exception, you may use this file as part of a free software
library without restriction.  Specifically, if other files instantiate
templates or use macros or inline functions from this file, or you compile
this file and link it with other files to produce an executable, this
file does not by itself cause the resulting executable to be covered by
the GNU General Public License.  This exception does not however
invalidate any other reasons why the executable file might be covered by
the GNU General Public License.
------

I'm not sure this covers it completely, since this seems to be specific to
the file in question, and has nothing to do with the .so.



-Ed






reply via email to

[Prev in Thread] Current Thread [Next in Thread]