------- 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