[MLton] -Wlong-long

Wesley W. Terpstra wesley at terpstra.ca
Mon Mar 21 09:20:20 PST 2011


On Mon, Mar 21, 2011 at 2:29 PM, Matthew Fluet <matthew.fluet at gmail.com>wrote:

> Is it warning about code in our runtime, or in header files that are
> included?  I only see "long long" used in gdtoa, gen/c-types.c, and
> platform/sysctl.c.
>

Only the runtime, but every file at least once due to cenv.h's UINT64_MAX
comparison ifdef... and some files warn many many times.

It's complaining about the ULL suffix, not use of an explicit long long
type.

IMO this is a gcc bug, but an easy one to shut up.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mlton.org/pipermail/mlton/attachments/20110321/9f7f1f8c/attachment.htm


More information about the MLton mailing list