-qlonglit
Category
Pragma equivalent
None.
Purpose
In 64-bit mode, when determining the implicit types for integer literals, the compiler behaves as if an l or L suffix were added to integral literals with no suffix or with a suffix consisting only of u or U.
Defaults
-qnolonglit
Usage
After you specify the -qlonglit option, if the int or unsigned int type is contained in the implicit type list of a integer literal, the int or unsigned int type is replaced with the long int or unsigned long int type, respectively. For more information about the integer literals, see Integer literals.
Predefined macros
None.
Examples
After you specify the -qlonglit option, the integer literal 0x80000000 has the long int type in 64-bit mode. Otherwise, if this option is not specified, the integer literal has the unsigned int type in both 32-bit and 64-bit modes.