Status: New
Owner: ----

New issue 1806 by [email protected]: Compile error (-Werror=unused-but-set-variable)
http://code.google.com/p/v8/issues/detail?id=1806

Just a little bit annoying during compilation. Is there a way to turn -Werror off in Scons (I'm not familiar with that tool)

Revision: 9863
OS: Linux x86
Compiler: gcc 4.6.2
Scons cmd: scons arch=x64
Output:
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o obj/release/runtime.o -c -fno-rtti -fno-exceptions -fvisibility=hidden -Wall -Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m64 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -Isrc src/runtime.cc src/runtime.cc: In constructor 'v8::internal::ScopeIterator::ScopeIterator(v8::internal::Isolate*, v8::internal::JavaScriptFrame*, int)': src/runtime.cc:11226:12: error: variable 'result' set but not used [-Werror=unused-but-set-variable] src/runtime.cc:11234:12: error: variable 'result' set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors

scons: *** [obj/release/runtime.o] Error 1
scons: building terminated because of errors.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to