------- Comment #7 from hubicka at ucw dot cz 2010-07-09 17:09 ------- Subject: Re: =?iso-8859-2?Q?Bogus_?= =?iso-8859-2?Q?=22type_of_=91nsLayoutModule=5FNSModule=92_doe?= =?iso-8859-2?Q?s?= not match original declaration" waning compiling Mozilla
Hi, with the patch all "does not match original declaration" on Mozilla build are gone. We are down to tons of ../../../../content/xbl/src/nsXBLBinding.cpp:1599:1: warning: Use of type ‘struct nsINodeInfo’ with two mismatching declarations at field ‘mOwnerManager’ [enabled by default] ../../../dist/include/nsINodeInfo.h:79:0: note: original type declared here ../../../dist/include/nsINodeInfo.h:329:0: note: field in mismatching type declared here ../../../../content/xbl/src/nsXBLBinding.cpp:1599:1: warning: Use of type ‘struct nsNodeInfoManager’ with two mismatching declarations at field ‘mDocument’ [enabled by default] ../../../dist/include/nsNodeInfoManager.h:71:3: note: original type declared here ../../../dist/include/nsNodeInfoManager.h:157:0: note: field in mismatching type declared here In function ‘GetBindingURL’: ../../dist/include/nsIDocument.h:444:38: warning: Use of type ‘struct nsIDocument’ with two mismatching declarations at field ‘mPresShell’ [enabled by default] ../../dist/include/nsIDocument.h:138:0: note: original type declared here ../../dist/include/nsIDocument.h:1569:0: note: field in mismatching type declared here ../../../dom/base/nsDOMClassInfo.cpp:10745:1: warning: Use of type ‘struct nsPresContext’ with two mismatching declarations at field ‘mShell’ [enabled by default] ../../../dist/include/nsPresContext.h:175:0: note: original type declared here ../../dist/include/nsPresContext.h:1016:0: note: field in mismatching type declared here In member function ‘PreCreate’: ../../../dom/base/nsDOMClassInfo.cpp:10745:1: warning: Use of type ‘struct nsNodeInfoManager’ with two mismatching declarations at field ‘mBindingManager’ [enabled by default] ../../../dist/include/nsNodeInfoManager.h:71:0: note: original type declared here ../../dist/include/nsNodeInfoManager.h:165:0: note: field in mismatching type declared here In member function ‘Enumerate’: ../../../dom/base/nsDOMClassInfo.cpp:10745:1: warning: Use of type ‘struct nsNodeInfoManager’ with two mismatching declarations at field ‘mBindingManager’ [enabled by default] ../../../dist/include/nsNodeInfoManager.h:71:0: note: original type declared here ../../dist/include/nsNodeInfoManager.h:165:0: note: field in mismatching type declared here In member function ‘Init’: ../../../dom/base/nsJSTimeoutHandler.cpp:361:1: warning: Use of type ‘struct nsINodeInfo’ with two mismatching declarations at field ‘mOwnerManager’ [enabled by default] ../../dist/include/nsINodeInfo.h:79:0: note: original type declared here ../../dist/include/nsINodeInfo.h:329:0: note: field in mismatching type declared here In member function ‘__base_ctor ’: ../../../content/smil/nsSMILAnimationController.cpp:77:21: warning: Use of type ‘struct nsSMILAnimationController’ with two mismatching declarations at field ‘mDocument’ [enabled by default] ../../dist/include/nsSMILAnimationController.h:70:0: note: original type declared here ../../../content/smil/nsSMILAnimationController.h:197:0: note: field in mismatching type declared here In member function ‘Init’: ../../../content/smil/nsSMILAnimationController.cpp:112:19: warning: Use of type ‘struct nsSMILAnimationController’ with two mismatching declarations at field ‘mDocument’ [enabled by default] ../../dist/include/nsSMILAnimationController.h:70:0: note: original type declared here ../../../content/smil/nsSMILAnimationController.h:197:0: note: field in mismatching type declared here In function ‘GetContextForContent’: ../../../dist/include/nsIDocument.h:444:38: warning: Use of type ‘struct nsIDocument’ with two mismatching declarations at field ‘mPresShell’ [enabled by default] ../../dist/include/nsIDocument.h:138:0: note: original type declared here ../../../dist/include/nsIDocument.h:1569:17: note: field in mismatching type declared here In member function ‘InvalidateSubtreeFor’: ../../../../accessible/src/base/nsAccessibilityService.cpp:1808 (and ICE I filled another PR for) Honza -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44889