The default bug view has changed. See this FAQ.

Undef near in Dictionary Helper code generator

RESOLVED FIXED in mozilla15

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: dougt, Assigned: dougt)

Tracking

unspecified
mozilla15
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
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)
(Assignee)

Comment 1

5 years ago
Created attachment 624456 [details] [diff] [review]
v.1
Attachment #624456 - Flags: review?
(Assignee)

Updated

5 years ago
Attachment #624456 - Flags: review? → review?(khuey)
Summary: Undef near in Directory Helper code generator → Undef near in Dictionary Helper code generator
Attachment #624456 - Flags: review?(khuey) → review+
(Assignee)

Comment 2

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/1e6cc17ba23a
https://hg.mozilla.org/mozilla-central/rev/1e6cc17ba23a
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla15
You need to log in before you can comment on or make changes to this bug.