Last Comment Bug 755836 - Undef near in Dictionary Helper code generator
: Undef near in Dictionary Helper code generator
Product: Core
Classification: Components
Component: DOM (show other bugs)
: unspecified
: x86 Mac OS X
-- normal (vote)
: mozilla15
Assigned To: Doug Turner (:dougt)
: Andrew Overholt [:overholt]
Depends on:
  Show dependency treegraph
Reported: 2012-05-16 11:15 PDT by Doug Turner (:dougt)
Modified: 2012-05-17 03:19 PDT (History)
2 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

v.1 (1.10 KB, patch)
2012-05-16 11:16 PDT, Doug Turner (:dougt)
khuey: review+
Details | Diff | Splinter Review

Description User image Doug Turner (:dougt) 2012-05-16 11:15:09 PDT
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 (
Comment 1 User image Doug Turner (:dougt) 2012-05-16 11:16:17 PDT
Created attachment 624456 [details] [diff] [review]
Comment 3 User image Ed Morley [:emorley] 2012-05-17 03:19:05 PDT

Note You need to log in before you can comment on or make changes to this bug.