What steps will reproduce the problem?
On a Mac, OS X 10.9.2, Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM
3.3svn):
1. python build/gyp_angle
2. ninja (or make)
3. you'll see:
src/compiler/translator/VersionGLSL.h:52:18: error: private field 'mShaderType'
is not used [-Werror,-Wunused-private-field]
ShShaderType mShaderType;
1 error generated.
This is with a checkout of trunk and more or less following the instructions in
the DevSetup wiki page for non-Windows to attempt to build the essl_to_glsl
translator sample.
I'm grossly ignorant of how to properly operate gyp (so it may just be user
error :), but I'm pretty sure this is just a straightforward case of -Wall
including -Wunused-private-field, and mShaderType does indeed appear to be
unused. Inserting -Wno-unused-private-field or just removing mShaderType from
VersionGLSL.h and VersionGLSL.cpp seems to fix the problem.
Original issue reported on code.google.com by bcke...@google.com on 4 May 2014 at 3:05
Original issue reported on code.google.com by
bcke...@google.com
on 4 May 2014 at 3:05