Closed Leffmann closed 8 years ago
How long long
is going to be interpreted if we compile the code on 32-bit architecture (without -m32
switch)?
It should be decided by the language standard. C99 specifies long long
to be at least 64-bit, and judging by VBCC's makefile, it requires C99, C9x or GNU9x to build.
With -std=c9x/gnu9x/c99 -m32,
long
will be a 32-bit type. Specifylong long
to guarantee 64-bit size and get rid of warnings like the above, and possible errors in the generated code.