Closed Bug 755836 Opened 9 years ago Closed 9 years ago

Undef near in Dictionary Helper code generator

Categories

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

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla15

People

(Reporter: dougt, Assigned: dougt)

Details

Attachments

(1 file)

For bug 751663, I added a new event. One of the attributes of this event is 'near'.  near (and far) are defined on Win32 which results in this error:


e:\builds\moz2_slave\try-w32\build\obj-firefox\dist\include\DictionaryHelpers.h(269) : error C2208: 'bool' : no members defined using this type

In order to avoid this error, i am undef'ing near.  This is similar to what we do in other places (http://mxr.mozilla.org/mozilla-central/search?string=Microsoft%27s+API+Name+hackery+sucks)
Attached patch v.1Splinter Review
Attachment #624456 - Flags: review?
Attachment #624456 - Flags: review? → review?(khuey)
Summary: Undef near in Directory Helper code generator → Undef near in Dictionary Helper code generator
https://hg.mozilla.org/mozilla-central/rev/1e6cc17ba23a
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.