Closed
Bug 480694
Opened 15 years ago
Closed 1 year ago
ISO C++ forbids casting between pointer-to-function and pointer-to-object
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: wbrana, Unassigned)
References
Details
User-Agent: Opera/10.00 (X11; Linux x86_64 ; U; en) Presto/2.2.0 Build Identifier: mozilla-1.9.1 hg 23594 g++-3.4.6 -o xpcquickstubs.o -c -fvisibility=hidden -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT=1 -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DZLIB_INTERNAL -DOSTYPE=\"Linux2.6.28\" -DOSARCH=Linux -DJSFILE -DJS_THREADSAFE -DEXPORT_XPC_API -I./../loader -I. -I. -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/js -I../../../../dist/include/caps -I../../../../dist/include/necko -I../../../../dist/include/dom -I../../../../dist/include/content -I../../../../dist/include/editor -I../../../../dist/include/layout -I../../../../dist/include/rdf -I../../../../dist/include/svg -I../../../../dist/include/xuldoc -I../../../../dist/include/xultmpl -I../../../../dist/include/widget -I../../../../dist/include -I../../../../dist/include/xpconnect -I/mnt/md4/cache/inst/191src/dist/include/nspr -I/mnt/md4/cache/inst/191src/dist/sdk/include -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-long-long -pedantic -pipe -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -pipe -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/xpcquickstubs.pp xpcquickstubs.cpp xpcquickstubs.cpp: In function `JSBool LookupGetterOrSetter(JSContext*, JSBool, jsval*)': xpcquickstubs.cpp:258: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object xpcquickstubs.cpp:267: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object gmake[4]: *** [xpcquickstubs.o] Error 1 gmake[4]: Leaving directory `/mnt/md4/cache/inst/191src/js/src/xpconnect/src' Reproducible: Always build compiled with gcc 4.3.3 segfaults at startup
Updated•15 years ago
|
Version: unspecified → 3.1 Branch
Segfault of gcc 4.3.3 compiled build wasn't compiler bug. It doesn't segfault, when different .mozconfig is used.
Comment 2•15 years ago
|
||
I have the same problem with the older GCC when compiling on OS/2, but for me this is fixed by the patch for bug 482384. So when that comes to the 1.9.1 branch, this bug should be fixed, too.
Comment 4•1 year ago
|
||
In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.
Severity: major → --
Updated•1 year ago
|
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•