mingw: unable to build due to error in nsWindow.cpp

RESOLVED WORKSFORME

Status

()

Core
Widget: Win32
RESOLVED WORKSFORME
13 years ago
12 years ago

People

(Reporter: Henrik Gemal, Unassigned)

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
I'm trying to build mozilla on mingw using gcc:

d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp: In member function `BOOL nsWindow::OnIMERequest(WPARAM, LPARAM, LRESULT*, PRBool)':
d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp:7050: error: `IMR_RECONVERTSTRING' undeclared (first use this function)
d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp:7050: error: (Each undeclared identifier is reported only once for each function it appears in.)
d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp:7053: error: `IMR_QUERYCHARPOSITION' undeclared (first use this function)
d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp: In member function `PRBool nsWindow::OnIMEReconvert(LPARAM, LRESULT*, PRBool)':
d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp:7069: error: `RECONVERTSTRING' undeclared (first use this function)
d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp:7069: error: `pReconv' undeclared (first use this function)
d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp:7069: error: expected primary-expression before ')' token
d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp:7069: error: expected `;' before "aData"
d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp: In member function `PRBool nsWindow::OnIMEQueryCharPosition(LPARAM, LRESULT*, PRBool)':
d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp:7166: error: `IMECHARPOSITION' undeclared (first use this function)
d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp:7166: error: `pCharPosition' undeclared (first use this function)
d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp:7166: error: expected primary-expression before ')' token
d:/Mozilla/mozilla/widget/src/windows/nsWindow.cpp:7166: error: expected `;' before "aData"
I've just successfully completed a mingw updated to trunk.
Is this still an issue?

Comment 2

12 years ago
It's still an issue as we should not be dependent upon cvs versions of other tools.
Depends on: 333777

Comment 3

12 years ago
You will need to upgrade to the w32api 3.7 release.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.