Closed Bug 508760 Opened 15 years ago Closed 13 years ago

Remove MSVC6 support from the tree

Categories

(Firefox Build System :: General, defect)

x86
Windows 95
defect
Not set
trivial

Tracking

(status1.9.1 .8-fixed)

VERIFIED FIXED
mozilla11
Tracking Status
status1.9.1 --- .8-fixed

People

(Reporter: emk, Assigned: sgautherie)

References

(Blocks 1 open bug, )

Details

Attachments

(10 files, 2 obsolete files)

2.19 KB, patch
ted
: review+
Details | Diff | Splinter Review
1.80 KB, patch
dougt
: review+
Details | Diff | Splinter Review
1.83 KB, patch
dougt
: review+
Details | Diff | Splinter Review
909 bytes, patch
dougt
: review+
Details | Diff | Splinter Review
1.42 KB, patch
graydon
: review+
Details | Diff | Splinter Review
1.08 KB, patch
longsonr
: review+
Details | Diff | Splinter Review
1.14 KB, patch
Callek
: review+
Details | Diff | Splinter Review
1.53 KB, patch
benjamin
: review+
benjamin
: approval2.0+
Details | Diff | Splinter Review
721 bytes, patch
benjamin
: review+
Details | Diff | Splinter Review
1.70 KB, patch
Details | Diff | Splinter Review
MSVC6 didn't build the tree far past. It will just confuse readers.
Serge, are you interested in this?
(In reply to comment #0)
> MSVC6 didn't build the tree far past. It will just confuse readers.

Ftr,
https://developer.mozilla.org/en/Windows_Build_Prerequisites
says VC6 is
*'Yes (Official)' for 1.8.0 and 1.8.1.
*'No' for 1.9.0 and 1.9.1+.

> Serge, are you interested in this?

Maybe. What should be done?
Severity: normal → trivial
As a first step, we could remove _CC_SUITE=6 and _CC_MAJOR_VERSION=12 code path from configure.in. Then configure will complain "This version of the MSVC compiler, 12.0.x.x , is unsupported."
Then we could remove all MSVC6-specific hacks.
http://mxr.mozilla.org/mozilla-central/search?string=vc6
I think Mook was still building with VC6+patches at some point, but I also think I'm fine with killing off that support. You can't even get your hands on VC6 legally these days.
Nah, I was doing VC71 + patches / various forms of mingw.  Neil(Away) was the one doing VC6.  CCing him... or at leas _a_ Neil; sorry if I picked up the wrong one :)

See also: https://developer.mozilla.org/en/VC6_Build_Instructions
Assignee: nobody → sgautherie.bz
Status: NEW → ASSIGNED
Attachment #392938 - Flags: review?(ted.mielczarek)
(In reply to comment #4)
> See also: https://developer.mozilla.org/en/VC6_Build_Instructions
That's only relevant for Firefox 3.0 - all my Mercurial builds use VC7.1 or 8.
Blocks: 508808
Blocks: 508809
Attachment #392938 - Flags: review?(ted.mielczarek) → review+
Comment on attachment 392938 [details] [diff] [review]
(Av1) configure.in
[Checkin: Comment 7 & 29]


http://hg.mozilla.org/mozilla-central/rev/59c456691798
Attachment #392938 - Attachment description: (Av1) configure.in → (Av1) configure.in [Checkin: Comment 7]
Attachment #393359 - Flags: review? → review?(doug.turner)
Comment on attachment 393359 [details] [diff] [review]
(Bv1) xpcom/ds/*.cpp
[Checkin: Comment 10]

looks fine.  push it to try and check the wince build.  I was just worried about the REG_QWORD change.
Attachment #393359 - Flags: review?(doug.turner) → review+
Comment on attachment 393359 [details] [diff] [review]
(Bv1) xpcom/ds/*.cpp
[Checkin: Comment 10]


http://hg.mozilla.org/mozilla-central/rev/b97303f89a50


(In reply to comment #9)
> push it to try and check the wince build.

Passed (all) as try-3485c3d712d6.
Attachment #393359 - Attachment description: (Bv1) xpcom/ds/*.cpp → (Bv1) xpcom/ds/*.cpp [Checkin: Comment 10]
Passed as try-844bdb830ca4.

I know nothing about WinCE/WinMo,
so I figured out this patch and comment from a search on internet...

Yet, I wonder if the following would be right and better:
{
804 #ifndef WINCE
...
829 #endif
...
#ifndef WINCE_WINDOWS_MOBILE // or #ifndef WINCE ?
835         case Win_LocalAppdata:
836         {
837             return GetWindowsFolder(CSIDL_LOCAL_APPDATA, aFile);
838         }
#endif
839 #endif  // XP_WIN
}
Attachment #393433 - Flags: review?(doug.turner)
Comment on attachment 393433 [details] [diff] [review]
(Cv1) xpcom/io/*.cpp
[Checkin: See comment 15]

I think you want WINCE (since it is also not defined on Windows CE, not just undefined on windows mobile.)
Attachment #393433 - Flags: review?(doug.turner) → review+
Comment on attachment 393433 [details] [diff] [review]
(Cv1) xpcom/io/*.cpp
[Checkin: See comment 15]

Noted for WINCE.
What do you think about comment 11?
GetProductDirectory will be broken if you #ifdef-out LocalAppData.
Comment on attachment 393433 [details] [diff] [review]
(Cv1) xpcom/io/*.cpp
[Checkin: See comment 15]


http://hg.mozilla.org/mozilla-central/rev/794867a3e942
Cv1, with comment 12 suggestion(s).
Attachment #393433 - Attachment description: (Cv1) xpcom/io/*.cpp → (Cv1) xpcom/io/*.cpp [Checkin: See comment 15]
Attachment #394388 - Flags: review?(doug.turner) → review+
Comment on attachment 394388 [details] [diff] [review]
(Dv1) widget/src/windows/*.cpp
[Checkin: Comment 17]


http://hg.mozilla.org/mozilla-central/rev/98b255a26506
Attachment #394388 - Attachment description: (Dv1) widget/src/windows/*.cpp → (Dv1) widget/src/windows/*.cpp [Checkin: Comment 17]
Attachment #395049 - Flags: review?(graydon)
Attachment #395049 - Flags: review?(graydon) → review+
Comment on attachment 395049 [details] [diff] [review]
(Ev1) js/src/*
[Checkin: Comment 19]


http://hg.mozilla.org/mozilla-central/rev/02773bf9abae
Attachment #395049 - Attachment description: (Ev1) js/src/* → (Ev1) js/src/* [Checkin: Comment 19]
Succeeded on TryServer.
Attachment #395207 - Flags: review?(longsonr)
Attachment #395207 - Flags: review?(longsonr) → review+
Comment on attachment 395207 [details] [diff] [review]
(Fv1) layout/svg/base/src/*
[Checkin: Comment 21]


http://hg.mozilla.org/mozilla-central/rev/6d400c5fa1f3
Attachment #395207 - Attachment description: (Fv1) layout/svg/base/src/* → (Fv1) layout/svg/base/src/* [Checkin: Comment 21]
Depends on: 511395
Succeeded as try-8cebe326f61c.
Attachment #395714 - Flags: review?(Jan.Varga)
Comment on attachment 395714 [details] [diff] [review]
(Gv1) /extensions/metrics/src/*.h
[Superseded by bug 616761]


This reverts part of bug 334044 and bug 335120.
Do it for bug 506493 now that c-1.9.1 has branched.
Attachment #423359 - Flags: review?(bugspam.Callek)
Attachment #423359 - Flags: review?(bugspam.Callek) → review+
Comment on attachment 423359 [details] [diff] [review]
(Hv1-CC) configure.in
[Checkin: Comment 25]


http://hg.mozilla.org/comm-central/rev/6ae5e74f759e
Attachment #423359 - Attachment description: (Hv1-CC) configure.in → (Hv1-CC) configure.in [Checkin: Comment 25]
Comment on attachment 395714 [details] [diff] [review]
(Gv1) /extensions/metrics/src/*.h
[Superseded by bug 616761]


Looking for an active reviewer...
Attachment #395714 - Flags: review?(dbaron)
Comment on attachment 392938 [details] [diff] [review]
(Av1) configure.in
[Checkin: Comment 7 & 29]


"approval1.9.1.8=?":
Zero risk, build config only.
Attachment #392938 - Flags: approval1.9.1.8?
Attachment #392938 - Flags: approval1.9.1.8? → approval1.9.1.8+
Comment on attachment 392938 [details] [diff] [review]
(Av1) configure.in
[Checkin: Comment 7 & 29]

don't see a lot of point (people haven't figured that out in 8 updates?), but Approved for 1.9.1.8, a=dveditz for release-drivers
Comment on attachment 392938 [details] [diff] [review]
(Av1) configure.in
[Checkin: Comment 7 & 29]


http://hg.mozilla.org/releases/mozilla-1.9.1/rev/85ba2075840b
Attachment #392938 - Attachment description: (Av1) configure.in [Checkin: Comment 7] → (Av1) configure.in [Checkin: Comment 7 & 29]
Comment on attachment 423359 [details] [diff] [review]
(Hv1-CC) configure.in
[Checkin: Comment 25]


Looking for
"approval-thunderbird3.0.2=?":
Zero risk, build config only.
Attachment #423359 - Flags: review?(bugzilla)
Comment on attachment 423359 [details] [diff] [review]
(Hv1-CC) configure.in
[Checkin: Comment 25]

I don't care about this for 1.9.1. There's no advantages here, from what I can tell any issues should be caught by the mozilla-1.9.1 changes, and the mozilla build page says VC 6 isn't supported for 1.9.1 anyway.
Attachment #423359 - Flags: review?(bugzilla) → review-
Attachment #423359 - Flags: review-
Comment on attachment 395714 [details] [diff] [review]
(Gv1) /extensions/metrics/src/*.h
[Superseded by bug 616761]

Please find somebody else to review this.
Attachment #395714 - Flags: review?(dbaron) → review?
Comment on attachment 395714 [details] [diff] [review]
(Gv1) /extensions/metrics/src/*.h
[Superseded by bug 616761]


Brendan, I have no idea who to ask for this review :-/
Attachment #395714 - Flags: review? → review?(brendan)
Attachment #395714 - Flags: review?(brendan) → review?(benjamin)
Attachment #395714 - Flags: review?(benjamin)
Blocks: 600218
Comment on attachment 395714 [details] [diff] [review]
(Gv1) /extensions/metrics/src/*.h
[Superseded by bug 616761]

Brendan: Benjamin cancelled review, I'm still looking for a reviewer...
Attachment #395714 - Flags: review?(brendan)
Attachment #395714 - Flags: review?(brendan)
Depends on: 616761
Attachment #395714 - Attachment description: (Gv1) /extensions/metrics/src/*.h → (Gv1) /extensions/metrics/src/*.h [Superseded by bug 616761]
Attachment #395714 - Attachment is obsolete: true
Attachment #395714 - Flags: review?(Jan.Varga)
Unlike (old) comment 15, I'm not adding an |#ifdef WINCE| anymore: see bug 614720.
(But I could if you want one ftb.)
Attachment #495834 - Flags: review?
Attachment #495834 - Flags: review? → review?(benjamin)
Attachment #495834 - Flags: review?(benjamin)
Attachment #495834 - Flags: review+
Attachment #495834 - Flags: approval2.0+
Comment on attachment 495834 [details] [diff] [review]
(Iv1) /toolkit/xre/*.cpp
[Checked in: Comment 36]

http://hg.mozilla.org/mozilla-central/rev/37c63f75ff2f
Attachment #495834 - Attachment description: (Iv1) /toolkit/xre/*.cpp → (Iv1) /toolkit/xre/*.cpp [Checked in: Comment 36]
Depends on: 617947
Whiteboard: [approved-patches-landed]
Attachment #496590 - Flags: review?(benjamin) → review+
Comment on attachment 496590 [details] [diff] [review]
(Jv1) nsEventQueue.h
[Checked in: Comment 38]

http://hg.mozilla.org/mozilla-central/rev/c72ec462f70c
Attachment #496590 - Attachment description: (Jv1) nsEventQueue.h → (Jv1) nsEventQueue.h [Checked in: Comment 38]
Attachment #526108 - Flags: review? → review?(mano)
Mano, ping for review.
Comment on attachment 526108 [details] [diff] [review]
(Kv1) nsNavHistoryResult.cpp

Ugh, sorry! r+apology=mano.
Attachment #526108 - Flags: review?(mano) → review+
Keywords: checkin-needed
Whiteboard: [approved-patches-landed] → [c-n: Kv1a] [approved-patches-landed]
Keywords: checkin-needed
Whiteboard: [c-n: Kv1a] [approved-patches-landed]
Comment on attachment 582664 [details] [diff] [review]
(Kv1a) nsNavHistoryResult.cpp: Remove VC6 workaround
[Checked in: Comment 44]

http://hg.mozilla.org/integration/mozilla-inbound/rev/e48f73ccaf1c
Attachment #582664 - Attachment description: (Kv1a) nsNavHistoryResult.cpp: Remove VC6 workaround → (Kv1a) nsNavHistoryResult.cpp: Remove VC6 workaround [Checked in: Comment 44]
Depends on: 712552
Depends on: 712554
(In reply to Marco Bonardo [:mak] from comment #44)
> Are there still parts to land here?

I filed 2 more blocking bugs on remaining occurrences.

R.Fixed, for this very bug (assigned to me).
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
V.Fixed, per MXR search.
Status: RESOLVED → VERIFIED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: