Closed
Bug 646389
Opened 13 years ago
Closed 13 years ago
js/src/nanojit/Containers.h:173: error: dereferencing pointer 'data' does break strict-aliasing rules
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: MatsPalmgren_bugz, Unassigned)
References
Details
c++ -o LIR.o -c -I./../../dist/system_wrappers_js -include /mozilla-central/js/src/config/gcc_hidden.h -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\".so\" -Ictypes/libffi/include -I. -I/mozilla-central/js/src -I. -I./../../dist/include -I./../../dist/include/nsprpub -I/OBJDIR/mozilla-central/dist/include/nspr -I/mozilla-central/js/src -I/mozilla-central/js/src/assembler -I/mozilla-central/js/src/yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -fno-strict-aliasing -pthread -pipe -DDEBUG -D_DEBUG -DTRACING -g -O3 -fstrict-aliasing -fno-stack-protector -fomit-frame-pointer -Werror -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/LIR.pp /mozilla-central/js/src/nanojit/LIR.cpp cc1plus: warnings being treated as errors In file included from /mozilla-central/js/src/nanojit/nanojit.h:362, from /mozilla-central/js/src/nanojit/LIR.cpp:40: /mozilla-central/js/src/nanojit/Containers.h: In member function 'nanojit::HashMap<K, T, H>::Node* nanojit::HashMap<K, T, H>::find(K, size_t&) [with K = int, T = int, H = nanojit::DefaultHash<int>]': /mozilla-central/js/src/nanojit/Containers.h:173: error: dereferencing pointer 'data' does break strict-aliasing rules /mozilla-central/js/src/nanojit/Containers.h:168: note: initialized from here /mozilla-central/js/src/nanojit/Containers.h:173: note: initialized from here make[1]: *** [LIR.o] Error 1 # c++ --version g++-4.4.real (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Ubuntu 10.10, x86-64 Tree is up-to-date from today, rev 2f45c30741c5
Comment 1•13 years ago
|
||
Warnings-as-errors is now off again. See bug 646702 for follow-up.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•