On Sun, Dec 1, 2013 at 11:11 AM, B Lyon <[email protected]> wrote:

> On an iMac, I'm trying a newbie build of v8 I just grabbed.  It's treating
> unused variables as an error, but I can't get these to be ignored.
>

Yeah, werror=no isn't implemented for iMac right now.


> I created the XCode project and it built, but it didn't seem clear how to
> get the tests to run with that.
>

tools/run-tests.py is your friend. You probably need to pass "--buildbot
--outdir=xcodebuild" to make it pick up the right binaries, or just use
"--shell-dir=...." for full flexibility.

Here's the command I'm using
>
>  make werror=no x64
>
> I can see that gyp is using -Dwerror='' when it compiles each file.
>

GYP doesn't compile anything, it just generates project files for
Make/MSVS/Xcode/etc.


> It seems to hit the first one on this file:
> In file included from ../src/hydrogen-check-elimination.cc:28:
> ../src/hydrogen-check-elimination.h:62:7: error: private field
> 'redundant_' is not used [-Werror,-Wunused-private-field]
>   int redundant_;
>
>
> When I use this:
>
>  make werror=no x64
>
> it hits this one first
>
> CXX(target)
> /Users/bradflyon/v8/out/x64.debug/obj.target/v8_base.x64/src/x64/stub-cache-x64.o
> ../src/x64/stub-cache-x64.cc:823:16: error: private field
> 'extra_ic_state_' is not used [-Werror,-Wunused-private-field]
>   ExtraICState extra_ic_state_;
>
>
> Thanks for any pointers.
>
>  --
> --
> v8-users mailing list
> [email protected]
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to