| Syntax: | Default: |
| gen(call, convention) | gen(call, optlink) |
This option sets the default calling convention for C and C++ functions. This table lists the conventions you can specify and the resulting linkage convention used by functions:
By default, _Optlink is used for function calls.
To override the default calling convention for specific functions, declare them with linkage keywords in the source.
When you use functions from libraries supplied with VisualAge C++ and include the appropriate headers, you do not have to specify calling conventions used by those functions.
![]()
Incremental C++ Build
C Compilation
Configuration
Files
Calling
Conventions
![]()
Code Generation Options
option Configuration File Directive
