Allows long long integer types in your program.


Read syntax diagramSkip visual syntax diagram        .-longlong---.
>>- -q--+-nolonglong-+-----------------------------------------><


The default with xlc , xlC and cc is -qlonglong, which defines _LONG_LONG (long long types will work in programs). The default with c89 is -qnolonglong (long long types are not supported).


C only This option cannot be specified when the selected language level is stdc99 or extc99. It is used to control the long long support that is provided as an extension to the C89 standard. This extension is slightly different from the long long support that is part of the C99 standard.


  1. To compile myprogram.c so that long long integers are not allowed, enter:
    xlc myprogram.c -qnolonglong
  2. 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

Related information