64 bit support

John E. Malmberg wb8tyw at qsl.net
Tue Sep 26 12:42:21 GMT 2000

If you are working with the 64 bit code, please consider that the type of
"long long" is an extension to the C language, and that it may be
represented by the standard as a different type.

Recently Compaq modified the DEC C compiler to support the "long long" type
to be compatable with the extension in the GCC compiler, so it is not an
issue for me.

With all warnings enabled though, the compiler will issue a non-fatal
diagnostic about using long long.

I am not sure if there is a standard type name for a 64 bit long, but if you
use a typedef to represent it, instead of coding "long long" in your source,
it may add to the number of compilers that can build with 64 bit long

Note that you can not typedef a 64 bit built in type to be "long long".

wb8tyw at qsl.network

More information about the samba-technical mailing list