The compiler’s treatment of extern inline functions conforms by default to the behavior specified by the ISO/IEC 9899:1999 C standard. Compile new codes with -features=no%extinl to obtain the same treatment of extern inline functions as provided by versions 5.5, or older, of the C and C++ compilers.
Table B–6 The -features Flags
Value |
Meaning |
---|---|
extensions |
Allows zero-sized struct/union declarations and void functions with return statements returning a value to work. |
extinl |
Generates extern inline functions as global functions. This is the default, which conforms with the 1999 C standard. |
no%extinl |
Generates extern inline functions as static functions. |
%none |
The option is disabled. |
Old C and C++ objects (created with Sun compilers prior to this release) can be linked with new C and C++ objects with no change of behavior for the old objects. To get standard conforming behavior, you must recompile old code with the current compiler.
If you do not specify a setting for -features, the compiler sets it to -features=extinl.