longlit

Option Type Default Value #pragma options C C++
-qoption nolonglit   x x

Syntax

    -qlonglit | -qnolonglit 
     

Purpose
Makes unsuffixed literals into the long type in 64-bit mode. The following table shows the implicit types for constants in 64-bit mode:

  default 64-bit mode 64-bit mode with qlonglit
unsuffixed decimal signed int
signed long
unsigned long
signed long
unsigned long
unsuffixed octal or hex signed int
unsigned int
signed long
unsigned long
signed long
unsigned long

suffixed by u/U unsigned int
unsigned long
unsigned long
suffixed by l/L signed long
unsigned long
signed long
unsigned long
suffixed by ul/UL unsigned long unsigned long

 



List of Batch Compiler Options and Their Defaults
Options that Specify Compiler Output
Equivalent Batch Compile-Link and Incremental Build Options