Closed
Bug 588510
Opened 15 years ago
Closed 15 years ago
Trunk Build broken for --with-windows-version=600 because of unqualified use of mD2DWindowSurface, GfxInfoConstructor
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| blocking2.0 | --- | - |
People
(Reporter: cbook, Assigned: bas.schouten)
References
Details
(Keywords: dogfood)
Attachments
(1 file)
|
1.21 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
while trying to build windows 7 debug builds for reftests i got a build error:
c:\work\builds\2.0.0\mozilla-central\firefox-debug\dist\include\mozilla/mozalloc
.h(224) : warning C4290: C++ exception specification ignored except to indicate
a function is not __declspec(nothrow)
c:\work\builds\2.0.0\mozilla-central\firefox-debug\dist\include\mozilla/mozalloc
.h(236) : warning C4290: C++ exception specification ignored except to indicate
a function is not __declspec(nothrow)
c:/work/builds/2.0.0/mozilla-central/widget/src/windows/nsWindow.cpp(684) : erro
r C2065: 'mD2DWindowSurface' : undeclared identifier
make[6]: *** [nsWindow.obj] Error 2
make[6]: Leaving directory `/c/work/builds/2.0.0/mozilla-central/firefox-debug/w
idget/src/windows'
make[5]: *** [libs] Error 2
make[5]: Leaving directory `/c/work/builds/2.0.0/mozilla-central/firefox-debug/w
idget/src'
make[4]: *** [libs] Error 2
make[4]: Leaving directory `/c/work/builds/2.0.0/mozilla-central/firefox-debug/w
idget'
make[3]: *** [libs_tier_platform] Error 2
make[3]: Leaving directory `/c/work/builds/2.0.0/mozilla-central/firefox-debug'
make[2]: *** [tier_platform] Error 2
make[2]: Leaving directory `/c/work/builds/2.0.0/mozilla-central/firefox-debug'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/c/work/builds/2.0.0/mozilla-central/firefox-debug'
make: *** [build] Error 2
turned out that removing ac_add_options --with-windows-version=600 result in a success build.
| Reporter | ||
Comment 1•15 years ago
|
||
note this was with VS 2008 and VS 2010
| Assignee | ||
Comment 2•15 years ago
|
||
How odd that that should undefine CAIRO_HAS_D2D_SURFACE and cause a non-D2D build. That's interesting, we should wrap that call in an #ifdef either way though. Patch coming.
| Assignee | ||
Comment 3•15 years ago
|
||
Attachment #467090 -
Flags: review?(roc) → review+
| Assignee | ||
Comment 4•15 years ago
|
||
This has been superseded by bug 588690.
Updated•15 years ago
|
Summary: Trunk Build broken for --with-windows-version=600 → Trunk Build broken for --with-windows-version=600 because of unqualified use of mD2DWindowSurface
Comment 6•15 years ago
|
||
(In reply to comment #2)
> How odd that that should undefine CAIRO_HAS_D2D_SURFACE and cause a non-D2D
> build. That's interesting, we should wrap that call in an #ifdef either way
> though. Patch coming.
Umm, if I understand correctly it is explicitly defined only for Windows 7+ (but I might be reading it wrong):
http://mxr.mozilla.org/mozilla-central/source/configure.in#8360
| Assignee | ||
Comment 7•15 years ago
|
||
(In reply to comment #6)
> (In reply to comment #2)
> > How odd that that should undefine CAIRO_HAS_D2D_SURFACE and cause a non-D2D
> > build. That's interesting, we should wrap that call in an #ifdef either way
> > though. Patch coming.
>
> Umm, if I understand correctly it is explicitly defined only for Windows 7+
> (but I might be reading it wrong):
>
> http://mxr.mozilla.org/mozilla-central/source/configure.in#8360
I guess that's probably the first Windows SDK that had the headers.
| Assignee | ||
Comment 8•15 years ago
|
||
Bug 588690 will fix this and is marked blocking. I'll check it in when I have time to wait for the landing queue.
Comment 9•15 years ago
|
||
GfxInfoConstructor is also a problem, not sure if it's being addressed as well.
http://mxr.mozilla.org/mozilla-central/source/widget/src/build/nsWinWidgetFactory.cpp#165
Should probably just be placed in the #if MOZ_WINSDK_TARGETVER >= MOZ_NTDDI_WIN7 section right below it.
Summary: Trunk Build broken for --with-windows-version=600 because of unqualified use of mD2DWindowSurface → Trunk Build broken for --with-windows-version=600 because of unqualified use of mD2DWindowSurface, GfxInfoConstructor
| Assignee | ||
Comment 11•15 years ago
|
||
Should be fixed with landing of Bug 588690.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 12•15 years ago
|
||
(In reply to comment #11)
> Should be fixed with landing of Bug 588690.
GfxInfoConstructor too (comment 9)?
Why do we have --enable-windows-version=600 any more? At one point it was added because we didn't have an updated SDK on some machines, but I don't think that's the case any more..
You need to log in
before you can comment on or make changes to this bug.
Description
•