Closed
Bug 559537
Opened 16 years ago
Closed 16 years ago
Under VS2010, fatal error occurs at atlcore.h
Categories
(Core Graveyard :: Embedding: ActiveX Wrapper, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9.3a5
People
(Reporter: ewong, Assigned: ewong)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.51 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
Building under VS2010, a fatal error C1189 occurs at atlcore.h(35) with
the error message:
D:\vs2010\VC\ATLMFC\INCLUDE\atlcore.h(35) : fatal error C1189: #error :
This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value
0x0501 or higher is recommended.
As shown in http://mxr.mozilla.org/mozilla-central/source/embedding/browser/activex/src/plugin/StdAfx.h#52,
_WIN32_WINNT is defined as 0x0400.
Workaround: add compile option --disable-activex
Comment 1•16 years ago
|
||
I hit this while fixing bug 530093 but didn't get around to fixing it, since there was an easy workaround. I'm not sure what the right fix is here. We could just bump the #define up, but I don't know if that will break things.
Comment 2•16 years ago
|
||
Edmund: would you like to try the obvious fix, and just change that #define to
#define _WIN32_WINNT 0x0403
?
| Assignee | ||
Comment 3•16 years ago
|
||
I'll get a patch up asap.
| Assignee | ||
Updated•16 years ago
|
Assignee: nobody → ewong
| Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•16 years ago
|
||
| Assignee | ||
Updated•16 years ago
|
Attachment #443261 -
Flags: review?(ted.mielczarek)
| Assignee | ||
Comment 5•16 years ago
|
||
Comment on attachment 443261 [details] [diff] [review]
Changed _WIN32_WINNT from 0x0400 to 0x0403
It seems as if _WIN32_WINNT definition is sprinkled over quite a few files that need updating. I'm obsoleting this patch until I get a better patch done.
Attachment #443261 -
Attachment is obsolete: true
Attachment #443261 -
Flags: review?(ted.mielczarek)
| Assignee | ||
Comment 6•16 years ago
|
||
Attachment #443285 -
Flags: review?(ted.mielczarek)
Comment 7•16 years ago
|
||
Comment on attachment 443285 [details] [diff] [review]
Changed all instances _WIN32_WINNT 0x0400 to _WIN32_WINNT 0x0403
Seems like the simplest thing we can do.
Attachment #443285 -
Flags: review?(ted.mielczarek) → review+
Updated•16 years ago
|
Keywords: checkin-needed
Comment 8•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Updated•14 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•