[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Compilation warnings in Lua 5.2.1 (size_t to unsigned int conversion)
- From: Coda Highland <chighland@...>
- Date: Wed, 26 Sep 2012 06:55:57 -0700
On Wed, Sep 26, 2012 at 6:50 AM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> So, compiling Lua 5.2.1 on OS X (x86_64) with LLVM compiler 4.1 produces these 2 warnings:
>
> I get no warnings with the default gcc in my machine (10.7.4 with Xcode
> command line tools for Lion, sure which version, probably the March 2012 one):
>
> % gcc --version
> i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)
>
> I get no warnings with CC=cc, which is:
>
> % cc --version
> Apple clang version 3.1 (tags/Apple/clang-318.0.54) (based on LLVM 3.1svn)
> Target: x86_64-apple-darwin11.4.0
>
>
You're out of date. There was another release recently. Current is:
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
build 5658) (LLVM build 2336.11.00)
Apple clang version 4.1 (tags/Apple/clang-421.11.65) (based on LLVM 3.1svn)
I haven't tried actually building with this to check the error myself, but JSYK.
/s/ Adam