Pragma equivalent
#pragma options [no]longlong
Purpose
Allows IBM long long integer types
in your program.
Syntax
>>- -q--+-longlong---+-----------------------------------------><
'-nolonglong-'
Defaults
- -qlonglong for the xlc, cc and c99 invocation
commands; -qnolonglong for the c89 invocation
command.
Usage
This option takes effect when
the -qlanglvl=extended | stdc89 | extc89 option
is in effect. It is not valid when the -qlanglvl=stdc99 |
extc99 option is in effect, because the long long support
provided by this option is incompatible with the semantics of the long
long types mandated by the C99 standard.
Predefined macros
_LONG_LONG is defined
to 1 when long long data types are available; otherwise,
it is undefined.
Examples
To compile
myprogram.c with
support for IBM
long
long integers, enter:
cc myprogram.c -qlonglong
AIX
v4.2 and later provides support for files greater than 2 gigabytes
in size so you can store large quantities of data in a single file.
To allow large file manipulation in your application, compile with
the -D_LARGE_FILES and
-qlonglong compiler options.
For example:
xlc myprogram.c -D_LARGE_FILES -qlonglong