Comment #13 on issue 413 by ionlupascu: GCC 4.4 fails to compile current
version, over strict aliasing
http://code.google.com/p/v8/issues/detail?id=413
To: Comment 12 by itoshkov, Dec 27, 2009
For me your patch doesn't worked. Is any ideas?
Error code:
g++ -o obj/release/api.o -c -Wall -Werror -W -Wno-unused-parameter
-Wnon-virtual-dtor
-pedantic -m32 -O3 -fomit-frame-pointer -fdata-sections -ffunction-sections
-ansi -
fno-rtti -fno-exceptions -fvisibility=hidden -Wall -Werror -W
-Wno-unused-parameter -
Wnon-virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer -fdata-sections
-ffunction-
sections -ansi -DV8_TARGET_ARCH_IA32 -DENABLE_DEBUGGER_SUPPORT
-DV8_NATIVE_REGEXP -
DENABLE_LOGGING_AND_PROFILING -Isrc src/api.cc
cc1plus: warnings being treated as errors
src/handles-inl.h: In static member function 'static void
v8::V8::RemoveMessageListeners(void (*)(v8::Handle<v8::Message>,
v8::Handle<v8::Value>))':
src/handles-inl.h:50: error: dereferencing pointer '<anonymous>' does break
strict-
aliasing rules
src/handles-inl.h:50: error: dereferencing pointer '<anonymous>' does break
strict-
aliasing rules
src/globals.h:591: note: initialized from here
cc1plus: error: dereferencing pointer 'dest' does break strict-aliasing
rules
cc1plus: error: dereferencing pointer 'dest' does break strict-aliasing
rules
cc1plus: error: dereferencing pointer 'dest' does break strict-aliasing
rules
src/api.cc:3287: note: initialized from here
scons: *** [obj/release/api.o] Error 1
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev