Closed
Bug 333777
Opened 19 years ago
Closed 19 years ago
w32api-3.7 is required to build moz apps with mingw gcc
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: cls, Assigned: cls)
References
Details
Attachments
(1 file)
472 bytes,
patch
|
benjamin
:
review+
benjamin
:
approval-branch-1.8.1+
dveditz
:
approval1.8.0.4-
|
Details | Diff | Splinter Review |
Due to the Thebes landing (bug 328499) and other bugs (bug 162361), we now require the cvs version of w32api to build gecko on win32 using gcc. We need to bump the minimum required version of w32api so that people with older versions will know that they need to upgrade. Unfortunately, the cvs version of w32api.h still has the previous release number so we'll have to wait until their next release.
See also:
https://bugzilla.mozilla.org/show_bug.cgi?id=162361#c156
https://bugzilla.mozilla.org/show_bug.cgi?id=328499#c48
Comment 2•19 years ago
|
||
Changing summary to reflect new reality.
Summary: cvs version of w32api is required to build moz apps with mingw gcc → w32api-3.7 is required to build moz apps with mingw gcc
Updated•19 years ago
|
Attachment #218533 -
Flags: review?(benjamin) → review+
Checking in configure.in;
/cvsroot/mozilla/configure.in,v <-- configure.in
new revision: 1.1653; previous revision: 1.1652
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9alpha
Attachment #218533 -
Flags: approval1.8.0.4?
Attachment #218533 -
Flags: approval-branch-1.8.1?
Comment 4•19 years ago
|
||
Chris, the new w32api isn't actually required for the branches, is it?
The changes from bug 162361 require w32api >= 3.7 .
Btw, I'm also hitting a problem where I need to define _WIN32_WINNT & WINVER to 0x500 to workaround the problem that mingw only defines WM_IME_REQUEST if _WIN32_WINNT >= 0x0500 but defines tagRECONVERTSTRING unconditionally. (I can't find the associated bug.)
http://lxr.mozilla.org/mozilla1.8.0/source/widget/src/windows/nsWindow.cpp#590
Comment 6•19 years ago
|
||
Comment on attachment 218533 [details] [diff] [review]
Require newly released w32api 3.7
ok, but that patch is not headed for 1.8.0.
Attachment #218533 -
Flags: approval-branch-1.8.1? → approval-branch-1.8.1+
Comment 7•19 years ago
|
||
Comment on attachment 218533 [details] [diff] [review]
Require newly released w32api 3.7
denying approval1.8.0.4: too late for this release. I doubt we want to change this in any 1.8.0.x release.
Attachment #218533 -
Flags: approval1.8.0.4? → approval1.8.0.4-
Comment 8•19 years ago
|
||
(In reply to comment #5)
> Btw, I'm also hitting a problem where I need to define _WIN32_WINNT & WINVER to
> 0x500 to workaround the problem that mingw only defines WM_IME_REQUEST if
> _WIN32_WINNT >= 0x0500 but defines tagRECONVERTSTRING unconditionally. (I
> can't find the associated bug.)
I changed it as a part of bug 330276.
We couldn't land the whole 330276, but you could land only relevant part.
Keywords: fixed1.8.1
Comment 9•19 years ago
|
||
(In reply to comment #5)
>The changes from bug 162361 require w32api >= 3.7
They do? I've been happily building the branch with 2.4 until you bumped the version :-( I'm backrevving my tinderbox to see if it still breaks.
http://tinderbox.mozilla.org/showbuilds.cgi?tree=Mozilla1.8-SeaMonkey
Assignee | ||
Comment 10•19 years ago
|
||
*sigh* I just downgraded my setup to w32api 2.4 along with the current mingw-runtime 3.9, gcc 3.4.5 & binutils 2.16.91 and I get the same error as bug 328499 comment 49 which was resolved by modifying winver.h (or upgrading to w32api 3.7). See bug 162361 comment 166.
I see that the tinderbox is using gcc 3.2.3. Perhaps the older version of gcc was more lenient about the casts?
Comment 11•19 years ago
|
||
You're right, earlier versions of gcc only warn about the const cast.
Assignee | ||
Comment 12•19 years ago
|
||
Ok. I'm fine with backing this out of the 1.8 branch if older versions of gcc work and we support using them. I don't think the issue is big enough to warrant an extended configure test (w32api 2.x + gcc 3.2 vs w32api 3.x + gcc 3.4?).
I didn't even know there was a mingw tinderbox.
Comment 13•19 years ago
|
||
(In reply to comment #12)
>I'm fine with backing this out of the 1.8 branch if older versions of gcc
>work and we support using them.
I was tempted to hack my w32api.h to report 3.7 ;-)
Given time I could of course try to install gcc/w32api 3.7 on the PC.
>I didn't even know there was a mingw tinderbox.
I set it up because I had no other use for that old NT3.51 workstation ;-)
Assignee | ||
Comment 14•19 years ago
|
||
The patch has been backed out of the 1.8 branch.
Keywords: fixed1.8.1
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•