Option Type | Default Value | #pragma options | C | C++ |
-qoption | -qnostaticinline | - | x |
Syntax
-qstaticinline | -qnostaticinline
This option controls whether inline functions are treated as static or extern.
By default, VisualAge C++; treats inline functions as extern.
For example, using the -qstaticinline option causes function f in the following declaration to be treated as static, even though it is not explicitly declared as such.
inline void f() {/*...*/};
Using the default, -qnostaticinline, gives f external linkage.
Equivalent Batch Compile-Link and Incremental
Build Options