Closed Bug 326661 Opened 20 years ago Closed 16 years ago

Build fail with --disable-xul on windows

Categories

(Core :: Widget: Win32, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: boissomag, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; chrome://navigator/locale/navigator.properties; rv:1.8.0.1) Gecko/20060210 K-Meleon/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; chrome://navigator/locale/navigator.properties; rv:1.8.0.1) Gecko/20060210 K-Meleon/1.0 Build fail on windows when using --disable-xul because of a missing link: GetTopLevelWindow() It's obvious when looking at : http://lxr.mozilla.org/mozilla1.8.0/source/widget/src/windows/nsWindow.cpp#8055 If you move #ifdef MOZ_XUL below it, then the build work, but it's not really a good idea. With the resulting build the mouse doesn't work well, mainly on scrollbar. GetTopLevelWindow() is only needed here: http://lxr.mozilla.org/mozilla1.8.0/source/widget/src/windows/nsToolkit.cpp#947 So this is probably related. Reproducible: Always
Attached patch Patch1Splinter Review
Moved the #ifdef MOZ_XUL, so that the GetTopLevelWindow method if available for build with --disable-xul
Attachment #220404 - Flags: review?
Confirming. This fails for me on a cygwin/Win32 build pulled today from Trunk.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: win32 → nobody
QA Contact: ian → win32
You have a patch on this bug that is flagged for 'review?' and not assigned to any reviewer. If you want the patch to be reviewed please assign a reviewer. Thanks
This seems to have been fixed by bug 487245.
Status: NEW → RESOLVED
Closed: 16 years ago
Depends on: 487245
Resolution: --- → FIXED
Attachment #220404 - Flags: review?
There is another bug identical to this out there somewhere that I think is resolved fixed, but I can't seem to find it.
(In reply to comment #5) > There is another bug identical to this out there somewhere that I think is > resolved fixed, but I can't seem to find it. Doh! This is that bug! Never mind.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: