Message-ID: <3167C6F0.286C@public1.guangzhou.gd.cn> Date: Sun, 07 Apr 1996 22:45:20 +0900 From: Wang TianXing Organization: No Organization MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Q: STL and license References: Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit Eli Zaretskii wrote: > > On Thu, 4 Apr 1996, Josh Stevens wrote: > > > OK, so STL comes with DJGPP V2, right? I found the header files in > > the lang\cxx directory, so I guess this is the case. My question is: > > since STL is part of the standard library, does it fall under the GNU > > copyleft? I would guess that, like the iostreams library, it is > > exempt from the GNU licensing restrictions (having to make re-linkable > > object code available, etc.). Am I right? > > libstdc++ is not LGPL, that is correct. The STL seems to be copyrighted by Hewlett-Packard. See lang/cxx/bool.h. ( it seems that the copyright notice applies only to non-GNU C++ complilers, because of the #ifndef __GNUC__. :) Regards, Wang TianXing #ifndef __GNUC__ /* * * Copyright (c) 1994 * Hewlett-Packard Company * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby granted without fee, * provided that the above copyright notice appear in all copies and * that both that copyright notice and this permission notice appear * in supporting documentation. Hewlett-Packard Company makes no * representations about the suitability of this software for any * purpose. It is provided "as is" without express or implied warranty. * */ #define bool int #define true 1 #define false 0 #endif