RTTI dynamic_cast implementation

Mark Mitchell mark at codesourcery.com
Thu Jan 6 04:23:41 UTC 2000


>>>>> "allen" == allen chan <allen.chan at ca.ibm.com> writes:

    allen> Hi all,

    allen> We are in the process of implementing the RTTI proposal as
    allen> outlined in the ABI document. Is there any plan to make the
    allen> implementation of __dynamic_cast publicly available? or
    allen> must we all spend the time to implement our own version of
    allen> __dynamic_cast?

We are implementing it as well for use in g++.  That version will
*not* be under the GPL -- it will bear the following license.  Note
the last paragraph.  Only a lawyer could tell you whether this license
will allow you to use it in your system or not, I'm afraid -- I
genuinely can't parse all of the details.  It *sounds* like you could
only use this file if at least one file in the application was
compiled by g++, but I don't know that for sure.

// This file is part of GNU CC.

// GNU CC is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2, or (at your option)
// any later version.

// GNU CC is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with GNU CC; see the file COPYING.  If not, write to
// the Free Software Foundation, 59 Temple Place - Suite 330,
// Boston, MA 02111-1307, USA. 

// As a special exception, if you link this library with other files,
// some of which are compiled with GCC, to produce an executable,
// this library 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.


--
Mark Mitchell                   mark at codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com




More information about the cxx-abi-dev mailing list