Closed Bug 297999 Opened 20 years ago Closed 20 years ago

mingw build InitCommonControlsEx undeclared

Categories

(Toolkit Graveyard :: Build Config, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla.20.scyt, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Building with mingw results in the following output. 

toolkit/mozapps/update/src/updater/progressui_win.cpp: In function `int
ShowProgressUI()':
toolkit/mozapps/update/src/updater/progressui_win.cpp:173: error:
`INITCOMMONCONTROLSEX' undeclared (first use this function)
toolkit/mozapps/update/src/updater/progressui_win.cpp:173: error: (Each
undeclared identifier is reported only once for each function it appears in.)
toolkit/mozapps/update/src/updater/progressui_win.cpp:173: error: expected `;'
before "icc"
toolkit/mozapps/update/src/updater/progressui_win.cpp:177: error: `icc'
undeclared (first use this function)
toolkit/mozapps/update/src/updater/progressui_win.cpp:177: error:
`InitCommonControlsEx' undeclared (first use this function)

The cause is that _WIN32_IE is not defined as greater or equal 0x0300.

Reproducible: Always
Attachment #186572 - Flags: first-review+
Attachment #186572 - Flags: approval1.8b3?
Attachment #186572 - Flags: approval1.8b3? → approval1.8b3+
The patch has been checked in.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: