Status: New
Owner: ----
New issue 2007 by [email protected]: Compile error
-Werror=unused-but-set-variable in r11050
http://code.google.com/p/v8/issues/detail?id=2007
$ uname -a
Linux SaintLight 3.2.9-1-ARCH #1 SMP PREEMPT Thu Mar 1 09:31:13 CET 2012
x86_64 Pentium(R) Dual-Core CPU E5300 @ 2.60GHz GenuineIntel GNU/Linux
$ scons arch=x64 debuggersupport=off snapshot=off profilingsupport=off
g++ -o obj/release/hydrogen.o -c -m64 -O3 -fno-rtti -fno-exceptions
-fvisibility=hidden -Wall -Werror -W -Wno-unused-parameter
-Woverloaded-virtual -Wnon-virtual-dtor -pedantic -m64 -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
-I/usr/local/libevent/include -I/usr/local/openssl/include
-DV8_TARGET_ARCH_X64 -Isrc src/hydrogen.cc
src/hydrogen.cc: In member function 'virtual void
v8::internal::HGraphBuilder::VisitObjectLiteral(v8::internal::ObjectLiteral*)':
src/hydrogen.cc:3743:28: error: variable 'name' set but not used
[-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
scons: *** [obj/release/hydrogen.o] Error 1
scons: building terminated because of errors.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev