Closed Bug 239445 Opened 17 years ago Closed 9 years ago

compile warnings in nsGenericElement.cpp

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [build_warning])

when compiling with gcc on windows:

d:/mozilla/mozilla/content/base/src/nsGenericElement.cpp: In member function `
virtual void nsGenericElement::SetContentID(unsigned int)':
d:/mozilla/mozilla/content/base/src/nsGenericElement.cpp:2058: warning:
comparison between signed and unsigned integer expressions
d:/mozilla/mozilla/content/base/src/nsGenericElement.cpp: In member function `
nsresult nsGenericElement::TriggerLink(nsIPresContext*, nsLinkVerb, nsIURI*,
nsIURI*, const nsAFlatString&, int, int)':
d:/mozilla/mozilla/content/base/src/nsGenericElement.cpp:3168: warning: enumeral
mismatch in conditional expression: `nsIScriptSecurityManager::<anonymous enum>'
vs `nsIScriptSecurityManager::<anonymous enum>'
d:/mozilla/mozilla/content/base/src/nsGenericElement.cpp: In member function
`virtual void nsGenericElement::List(FILE*, int) const':
d:/mozilla/mozilla/content/base/src/nsGenericElement.cpp:3549: warning:
comparison between signed and unsigned integer expressions
> d:/mozilla/mozilla/content/base/src/nsGenericElement.cpp:3168: warning: enumeral
> mismatch in conditional expression: `nsIScriptSecurityManager::<anonymous enum>'
> vs `nsIScriptSecurityManager::<anonymous enum>'

This is due to the way XPIDL generates enums.  Nothing to be done about it.
Assignee: general → nobody
QA Contact: ian → general
Whiteboard: [build_warning]
I could not find any warning in current version of nsGenericElement.cpp file in the nightly build logs of windows.
Hence closing this bug.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.