Closed Bug 330535 Opened 18 years ago Closed 18 years ago

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

Categories

(Core :: Widget: Win32, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

References

Details

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?
It's still an issue as we should not be dependent upon cvs versions of other tools.
Depends on: 333777
You will need to upgrade to the w32api 3.7 release.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.