Bonjour a vous,
J'ai trouve deux threads sur la mailing list de la freesoftware foundation (url du premier post en fin de message) qui discutte de mon probleme. Il semble que la LGPL impose que l'on puisse changer l'implementation de la bibliotheque. Or avec du code a source ferme, changer l'implementation de la bibliotheque ne peut se faire qu'a travers un shared object. Ce qui n'est pas possible avec une bibliotheque template/header a la STL.
Il semble que la facon de faire proprement est de mettre le code sous license GPL avec une clause d'exception genre :
// 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.
//
// This exception applies only to the code released under the name GNU
// Common C++. If you copy code from other releases into a copy of GNU
// Common C++, as the General Public License permits, the exception does
// not apply to the code that you add in this way. To avoid misleading
// anyone as to the status of such modified files, you must delete
// this exception notice from them.
//
// If you write modifications of your own for GNU Common C++, it is your choice
// whether to permit this exception to apply to your modifications.
// If you do not wish that, delete this exception notice.
J'espere que cela pourra aider quelqu'un plus tard.
Merci encore pour vos avis
http://mailman.fsfeurope.org/pipermail/discussion/2006-October/006420.html
http://mailman.fsfeurope.org/pipermail/discussion/2006-October/006386.html