This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/44889] New: Bogus "type of ‘nsLayoutModule_NSModule’ does not match original declaration" waning compiling Mozilla
- From: "hubicka at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jul 2010 14:18:46 -0000
- Subject: [Bug lto/44889] New: Bogus "type of ‘nsLayoutModule_NSModule’ does not match original declaration" waning compiling Mozilla
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
jh@evans:/abuild/jh/mozilla-central/build8/layout/build>
/abuild/jh/trunk-install/bin/g++ ~/ns*.ii -O2 -fwhopr -r -nostdlib
In file included from ../../../js/src/xpconnect/src/xpcprivate.h:58:0,
from ../../../js/src/xpconnect/src/xpcmodule.h:41,
from ../../../layout/build/nsLayoutModule.cpp:43:
../../dist/include/jscntxt.h: In function ?JSContext*
js_ContextFromLinkField(JSCList*)?:
../../dist/include/jscntxt.h:2704:75: warning: invalid access to non-static
data member ?JSContext::link? of NULL object [-Winvalid-offsetof]
../../dist/include/jscntxt.h:2704:75: warning: (perhaps the ?offsetof? macro
was used incorrectly) [-Winvalid-offsetof]
../../../toolkit/library/nsStaticXULComponents.cpp:286:1264: warning: type of
?nsLayoutModule_NSModule? does not match original declaration [enabled by
default]
../../../layout/build/nsLayoutModule.cpp:1221:37: note: previously declared
here
--
Summary: Bogus "type of ?nsLayoutModule_NSModule? does not match
original declaration" waning compiling Mozilla
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hubicka at gcc dot gnu dot org
GCC build triplet: x86_64-linux
GCC host triplet: x86_64-linux
GCC target triplet: x86_64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44889