More questions about C++ linkage for ABI routines
    Mark Mitchell 
    mark at codesourcery.com
       
    Thu Jun 29 08:27:11 UTC 2000
    
    
  
Folks --
Giving C++ linkage to __dynamic_cast means that its name, too, cannot
be determined independent of the target platform; its signature
depends on ptrdiff_t.  I think that `extern "C" __cxa_dynamic_cast'
would be better.  Otherwise, for example, a multi-platform debugger
must somehow have ugly platform-specific conditions in order to know
what function to call when the user types `dynamic_cast<S*> (&t)' at
the debugger's prompt.
--
Mark Mitchell                   mark at codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com
    
    
More information about the cxx-abi-dev
mailing list