Closed
Bug 1334489
Opened 9 years ago
Closed 9 years ago
nsMessengerWinIntegration.h compile error C2365: QUNS_NOT_PRESENT
Categories
(MailNews Core :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 54.0
People
(Reporter: frg, Assigned: frg)
References
Details
Attachments
(1 file, 2 obsolete files)
|
4.27 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1334464 +++
d:\seamonkey\comm-central\mailnews\base\src\nsMessengerWinIntegration.h(24): error C2365: 'QUNS_NOT_PRESENT': redefinition; previous
definition was 'enumerator'
C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\um\shellapi.h(980): note: see declaration of 'QUNS_NOT_PRESENT'
d:\seamonkey\comm-central\mailnews\base\src\nsMessengerWinIntegration.h(25): error C2365: 'QUNS_BUSY': redefinition; previous defini
tion was 'enumerator'
| Assignee | ||
Comment 1•9 years ago
|
||
Takes a little longer.
I am crashing because of this one:
https://hg.mozilla.org/mozilla-central/rev/5a6fc9e02f9d
Comment 2•9 years ago
|
||
That's another bug, or do you want to port two bugs here? Can we land your patch for the Windows integration? It compiled OK for me. Do we know which bug regressed this to note that in the commit message?
| Assignee | ||
Comment 3•9 years ago
|
||
This patch removes the enums but doesn't call SHQueryUserNotificationState directly.
| Assignee | ||
Comment 4•9 years ago
|
||
Could you check this one out. SeaMonkey 2.51 currently crashes during startup.
Attachment #8831179 -
Flags: feedback?(jorgk)
| Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8831171 [details] [diff] [review]
1334489-SHQueryUserNotificationState.patch
This could go in. The other would be just icing on top.
Attachment #8831171 -
Flags: review?(jorgk)
Comment 6•9 years ago
|
||
Well, I'd like to understand first why we're here. What's changed so QUNS_NOT_PRESENT and friend are now defined twice. Something is now including nsAlertsService.h when it didn't before?
Comment 7•9 years ago
|
||
I get it now: Bug 1325299. They've changed the WINVER and that triggers this
#if (NTDDI_VERSION >= NTDDI_VISTA)
typedef enum
{
QUNS_NOT_PRESENT = 1,
in shellapi.h.
OK, I'll do the review now.
Comment 8•9 years ago
|
||
I took the liberty to merge the two patches. Part 2 removed some of the stuff that part 1 had corrected, so I think it's best to rip it all out in one go ;-)
Like my Spanish plumber always says: "Fuera!" (meaning: Out!).
Attachment #8831171 -
Attachment is obsolete: true
Attachment #8831179 -
Attachment is obsolete: true
Attachment #8831171 -
Flags: review?(jorgk)
Attachment #8831179 -
Flags: feedback?(jorgk)
Attachment #8831214 -
Flags: review+
Comment 9•9 years ago
|
||
https://hg.mozilla.org/comm-central/rev/aa9ec692549119aac1abf473af2056adb97ad7cb
Windows will now compile again.
At least debug builds will crash on bug 1276669 with lovely stuff as can be seen in bug 1334558.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 54.0
You need to log in
before you can comment on or make changes to this bug.
Description
•