Portability and migration

The options in this category can help you maintain application behavior compatibility on past, current, and future hardware, operating systems and compilers, or help move your applications to an XL compiler with minimal change.
Table 1. Portability and migration options
Option name Equivalent pragma name Description
-qabi_version (C++ only) None.

Specifies the version of the C++ application binary interface (ABI) version used during compilation. This option is provided for compatibility with different levels of GNU C++.

-qalign #pragma options align, #pragma align

Specifies the alignment of data objects in storage, which avoids performance problems with misaligned data.

-qgenproto (C only) None.

Produces prototype declarations from K&R function definitions or function definitions with empty parentheses, and displays them to standard output.

-qpack_semantic None.

Controls the syntax and semantics of the #pragma pack directive.

-qupconv (C only) #pragma options upconv

Specifies whether the unsigned specification is preserved when integral promotions are performed.