Home | Contact | Pricing | News | Events | Partners | Mailing List | Site Map
  • Development log
  • Technical papers
  • Live docs

More Resources

Recent Papers

Browse by Technology

Dev Log Archives

Developer Center

[GNAT] New model for interfacing with C++

Saturday June 3, 2006

We have improved the frontend support for interfacing with C++. The GNAT pragmas CPP_Vtable and CPP_Virtual are no longer required because the frontend generates the same object layout as the g++ compiler. The only new requirement for interfacing with C++ classes with virtual functions is to place all the components of the object and the primitives exactly in the same order in the two languages.

 

Posted by Posted in Development Log, GNAT Compilation System