Closed
Bug 1776461
Opened 3 years ago
Closed 3 years ago
Various Windows mozilla-config.h: macro redefined warnings
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox104 fixed)
RESOLVED
FIXED
104 Branch
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: RyanVM, Assigned: RyanVM)
Details
Attachments
(1 file)
Not sure if it's tied to my specific Window SDK or not.
objdir-clang/dist/include\mozilla-config.h(149,9): warning: 'WIN32' macro redefined [-Wmacro-redefined]
#define WIN32 1
^
C:/PROGRA~2/WI3CF2~1/10/include/10.0.22000.0/shared\minwindef.h(38,9): note: previous definition is here
#define WIN32
^
In file included from xul.dll.rc:20:
objdir-clang/dist/include\mozilla-config.h(157,9): warning: '_WIN32_IE' macro redefined [-Wmacro-redefined]
#define _WIN32_IE 0x0800
^
C:/PROGRA~2/WI3CF2~1/10/include/10.0.22000.0/shared\sdkddkver.h(268,9): note: previous definition is here
#define _WIN32_IE 0x0A00
^
We already have logic in process_define_files.py to avoid redefining the WINVER & _WIN32_WINNT macros. Let's just add these 2 as well.
Assignee | ||
Comment 1•3 years ago
|
||
Pushed by rvandermeulen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8362b5d22558
Don't define the WIN32 and _WIN32_IE macros in mozilla-config.h if they're already defined. r=firefox-build-system-reviewers,ahochheiden
Comment 3•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox104:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•