Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Linking old C modules with C++ V3, C++ 2017 and C++ 2020 modules

&pagelevel(5)&pagelevel

C modules generated with the C or C++ Compiler V2.2 can be linked with C++ V3, C++ 2017 and C++ 2020 modules. Note, however, that the following restrictions apply with respect to stack handling by the C++ runtime system:

  • No exception may be thrown if there is still an active C V2.2 function between the call to throw and the exception handler (catch) which catches the exception.

  • No exception may be rethrown if there is still an active C V2.2 function between the call to throw; and the exception handler (catch) that has caught the rethrown exception.

  • No longjmp across a C V2.2 funtion may be executed from a C++ function.