Closed
Bug 409964
Opened 17 years ago
Closed 17 years ago
Clean up some requires and includes in mailnews backend.
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: standard8, Assigned: standard8)
Details
Attachments
(1 file, 1 obsolete file)
24.71 KB,
patch
|
neil
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
I did this originally to help clarify what depends on what in the backend as it may help with some of the frozen api migration (I want to see if I can do builds with reduced mailnews components to see what problems we're likely to get). The main thing we gain is the reduction in some REQUIRES. The main one of these is caused by including nsIMsgDatabase.h (from msgdb) in nsIMsgFolder.idl (from mailnews/base) when we don't need to. Although this means we need to include more items elsewhere, I think overall it will make the picture clearer. The rest of it is header include adjustments to cope with the include removal from the idl, and one or two removals for things that are not necessary in some files.
Attachment #294654 -
Flags: superreview?(neil)
Attachment #294654 -
Flags: review?(neil)
Assignee | ||
Comment 1•17 years ago
|
||
I forgot to mention, I've only tried this on Linux and not Windows/Mac. Any problems should be obvious though.
Comment 2•17 years ago
|
||
Comment on attachment 294654 [details] [diff] [review] The fix Just one Windows file failed to compile; you'd better get Mac tested too: C:\mozilla\mailnews\import\eudora\src\nsEudoraWin32.cpp(230) : error C3861: 'PR_Malloc': identifier not found, even with argument-dependent lookup C:\mozilla\mailnews\import\eudora\src\nsEudoraWin32.cpp(242) : error C3861: 'PR_Free': identifier not found, even with argument-dependent lookup C:\mozilla\mailnews\import\eudora\src\nsEudoraWin32.cpp(455) : warning C4244: 'argument' : conversion from 'PRInt64' to 'PRUint32', possible loss of data C:\mozilla\mailnews\import\eudora\src\nsEudoraWin32.cpp(1130) : error C3861: 'PL_strcasecmp': identifier not found, even with argument-dependent lookup
Attachment #294654 -
Flags: superreview?(neil)
Attachment #294654 -
Flags: review?(neil)
Attachment #294654 -
Flags: review-
Comment 3•17 years ago
|
||
with Neil's guidance on How To Patch, make -C mailnews WFM. Building with Xcode 3.0 under OS X 10.5.1 Leopard.
Assignee | ||
Comment 4•17 years ago
|
||
(In reply to comment #3) > with Neil's guidance on How To Patch, make -C mailnews WFM. > Building with Xcode 3.0 under OS X 10.5.1 Leopard. Thanks Rich.
Assignee | ||
Comment 5•17 years ago
|
||
This should fix the windows compilation problems.
Attachment #294654 -
Attachment is obsolete: true
Attachment #294720 -
Flags: superreview?(neil)
Attachment #294720 -
Flags: review?(neil)
Updated•17 years ago
|
Attachment #294720 -
Flags: superreview?(neil)
Attachment #294720 -
Flags: superreview+
Attachment #294720 -
Flags: review?(neil)
Attachment #294720 -
Flags: review+
Assignee | ||
Comment 6•17 years ago
|
||
Patch checked in -> fixed.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•