j...@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