Closed Bug 932265 Opened 11 years ago Closed 8 years ago

error C2039: 'CreateEventW' : is not a member of 'mozilla::dom::XMLDocument'

Categories

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

x86
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Mitch, Unassigned)

References

Details

'CreateEvent' is defined in windows.h and that's messing up XULDocument.h when it uses the NS_FORWARD_NSIDOMDOCUMENT(XMLDocument::) macro from the generated nsIDOMDocument.h.

See bug 925382 for the general problem with windows.h inclusion in bindings.
What are the steps to reproduce for this bug?  I just tried a fix for bug 925382, and as far as I can tell the binding code does not in fact include windows.h right now.
Flags: needinfo?(mitchell.field)
Er, nevermind.  I was wrong; we do have binding cpp files including it.
Flags: needinfo?(mitchell.field)
Now I'm unable to produce the bug since pulling in changes a few hours later. I guess that the bindings may have been split into different unified batches to the last time it was built. :|
Depends on: 925382
Assignee: mitchell.field → nobody
Status: ASSIGNED → NEW
I believe this should no longer be a problem, ever...  ;)
Status: NEW → RESOLVED
Closed: 8 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.