精華區beta LinuxDev 關於我們 聯絡資訊
※ 引述《TroyLee (TroyLee)》之銘言: : 3. 如果我有使用到 G++ STL 的也有必要特別加入 GPL 的宣告嗎? 以 gcc 4.3 來說,header /usr/include/c++/4.3.1/iostream 就是 GNU GPLv2 授權 (注意,儘管 gcc 官方聲明 4.3 以後的 gcc release 以 GNU GPLv3,但仍 有部份僅以 GPLv2 授權,例如 g++/STL),不過,加了例外條款,引述如下: // 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. 所以,這澄清了您的疑慮,基本上只用 g++/STL 開發應用程式,儘管有 inclusion 的動作,但由於 header 已有例外條款,允許不受 GPL 感染,因此不特別釋出這部份 的程式碼,是被允許的。 關於 C++ template 與潛在的授權議題,可參考: http://blog.linux.org.tw/~jserv/archives/001874.html -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.115.130.82
andytzeng:看到神秘人物登場了.... 07/02 09:32
huki:出現神級的角色~~~ 07/02 11:09