Pragma CPP_Virtual (GNAT Reference Manual) (original) (raw)
Next: Pragma CPP_Vtable, Previous: Pragma CPP_Constructor, Up: Implementation Defined Pragmas [Contents][Index]
2.39 Pragma CPP_Virtual ¶
This pragma is now obsolete and, other than generating a warning if warnings on obsolescent features are enabled, is completely ignored. It is retained for compatibility purposes. It used to be required to ensure compatibility with C++, but is no longer required for that purpose because GNAT generates the same object layout as the G++ compiler by default.
See Interfacing to C++ for related information.