Closed
Bug 227896
Opened 21 years ago
Closed 21 years ago
Composer build issues with Win32 & MinGW GCC
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: d_king, Assigned: d_king)
References
Details
Attachments
(2 files, 2 obsolete files)
1.32 KB,
patch
|
Details | Diff | Splinter Review | |
817 bytes,
patch
|
d_king
:
review+
d_king
:
superreview+
|
Details | Diff | Splinter Review |
I have seen a couple of issues with building Composer on WIN32 with GCC, I will
be describing and attaching patches to this bug.
Assignee | ||
Comment 1•21 years ago
|
||
First problem is that NS_ALERTSERVICE_CONTRACTID is undefined in
mozilla/xpfe/components/build2/nsModule.cpp
Assignee | ||
Comment 2•21 years ago
|
||
Had to patch Makefile.in and add an include into nsModule.cpp
Assignee | ||
Comment 3•21 years ago
|
||
Second problem is about the infamous Win32 gcc call to ::main problem.
Assignee | ||
Comment 4•21 years ago
|
||
The "normal" removal of the ::Main problem. Also, found that this bug is
dependant on an earlier fix (from cls) in bug #220978
Assignee | ||
Updated•21 years ago
|
Attachment #137093 -
Flags: review?(bryner)
Assignee | ||
Comment 5•21 years ago
|
||
Well, the first patch fixed Composer/Sunbird, but Thunderbird wasn't happy with
it. This new patch works with both.
Attachment #137093 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #137093 -
Flags: review?(bryner)
Assignee | ||
Comment 6•21 years ago
|
||
Comment on attachment 137173 [details] [diff] [review]
Second attempt at first problem
OK, lets see if this patch will pass a review?
Attachment #137173 -
Flags: review?(bryner)
Comment 7•21 years ago
|
||
Hm, no, this isn't right. We should switch the new-toolkit products to use the
alerts service in toolkit/components. I see thunderbird is still using the one
from xpfe. Scott, any thoughts?
Assignee | ||
Comment 8•21 years ago
|
||
For more information, which may not be relevant, may I suggest a quick look at
Bug #194315, and especially
http://bugzilla.mozilla.org/show_bug.cgi?id=194315#c10
where it was decided to create the "build2" dir under XPFE for Minotaur sync
with the Trunk.
Comment 9•21 years ago
|
||
Comment on attachment 137173 [details] [diff] [review]
Second attempt at first problem
review request -> mscott, since he can better address the questions here.
Scott, please read comment 7 before reviewing this.
Attachment #137173 -
Flags: review?(bryner) → review?(mscott)
Assignee | ||
Comment 10•21 years ago
|
||
Comment on attachment 137099 [details] [diff] [review]
Patch for second problem
Asking cls for a review of this patch as I copied it from one of his patches
and he knows GNU on WIN32 better than I do.
Attachment #137099 -
Flags: review?(cls)
Attachment #137099 -
Flags: review?(cls) → review+
Assignee | ||
Comment 11•21 years ago
|
||
Comment on attachment 137099 [details] [diff] [review]
Patch for second problem
Asking Brendan for an SR...keeping in mind that I have no checkin rights.
Attachment #137099 -
Flags: superreview?(brendan)
Comment 12•21 years ago
|
||
Comment on attachment 137099 [details] [diff] [review]
Patch for second problem
You don't generally need sr for build changes, so if the module owner is ok,
and if you have no doubts about conventions to use (e.g., __GNUC__ not
defined), go for it.
Almost a matter of taste issue: maybe combine the #if{def,ndef} lines and
#endifs via #if defined XP_WIN && !defined __GNUC__ ? A comment about MinGW
defining both would help the newcomers.
/be
Attachment #137099 -
Flags: superreview?(brendan) → superreview+
Assignee | ||
Comment 13•21 years ago
|
||
Hmmm, I agree with the reformating of the IFDEF's. And I have added a comment
about why this is bad for MingW. New patch coming up once I've tested it...well,
at least made sure it compiles.
As for the SR, I always ask for them at the moment, as my Mozilla knowledge is
rather low. Once I gain more confidence, that will change.
Status: NEW → ASSIGNED
Assignee | ||
Comment 14•21 years ago
|
||
New patch as per comments from SR
Attachment #137099 -
Attachment is obsolete: true
Assignee | ||
Comment 15•21 years ago
|
||
Comment on attachment 139704 [details] [diff] [review]
Final patch for second problem
Carrying over R and SR from prior patch as only minor chnages made.
Attachment #139704 -
Flags: superreview+
Attachment #139704 -
Flags: review+
Comment 16•21 years ago
|
||
Comment on attachment 139704 [details] [diff] [review]
Final patch for second problem
Patch for the second problem has been checked in.
Assignee | ||
Comment 17•21 years ago
|
||
Thanks cls, marking Fixed.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
Comment 18•20 years ago
|
||
Comment on attachment 137173 [details] [diff] [review]
Second attempt at first problem
clearing old request
Attachment #137173 -
Flags: review?(mscott)
You need to log in
before you can comment on or make changes to this bug.
Description
•