[C++-sig] Re: todo.txt "Implement type_info streaming for GCC" (David Abrahams)

Jonathan Brandmeyer jbrandmeyer at earthlink.net
Fri Jul 11 23:19:48 CEST 2003


On Fri, Dave Abrahams wrote:
> Of course, we still have the GPL problem if we link to that :(


No more so than any other part of GNU libstdc++.  The function is
mandated the "multi vendor ABI standard."  This facility's documentation
states that it is licensed under the same terms as the rest of GNU
libstdc++.  It seems to me that you should have no issues with using
these functions in Boost.Python.

HTH,
-Jonathan


>From cxxabi.h (leading //es removed for plain text email):

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.

From
http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-3.3/namespaceabi.html:

(Brief description of abi::__cxa_demangle())
New ABI-mandated entry point in the C++ runtime library for demangling.

( A note at the bottom)
The same demangling functionality is available via libiberty
(<libiberty/demangle.h> and libiberty.a) in GCC 3.1 and later, but that
requires explicit installation (--enable-install-libiberty) and uses a
different API, although the ABI is unchanged.

>From the draft IA64 ABI docs:
http://www.codesourcery.com/cxx-abi/abi.html#demangler






More information about the Cplusplus-sig mailing list