Closed Bug 814219 Opened 12 years ago Closed 12 years ago

nsMovemailService doesn't build with external linkage anymore

Categories

(MailNews Core :: Movemail, defect)

x86_64
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 20.0

People

(Reporter: mnyromyr, Assigned: mnyromyr)

Details

(Keywords: regression)

Attachments

(1 file)

Building with --enable-incomplete-external-linkage now fails:

In file included from /home/kd/projects/mozilla/mozilla.org/src/trunk/mailnews/local/src/nsMovemailService.cpp:18:0:
/home/kd/projects/mozilla/mozilla.org/src/trunk/mailnews/local/src/nsMovemailService.h:31:3: error: ‘nsCOMPtr’ does not name a type
/home/kd/projects/mozilla/mozilla.org/src/trunk/mailnews/local/src/nsMovemailService.cpp: In member function ‘void nsMovemailService::Error(int32_t, const PRUnichar**, uint32_t)’:
/home/kd/projects/mozilla/mozilla.org/src/trunk/mailnews/local/src/nsMovemailService.cpp:101:8: error: ‘mMsgWindow’ was not declared in this scope
/home/kd/projects/mozilla/mozilla.org/src/trunk/mailnews/local/src/nsMovemailService.cpp:104:17: error: ‘mMsgWindow’ was not declared in this scope
/home/kd/projects/mozilla/mozilla.org/src/trunk/mailnews/local/src/nsMovemailService.cpp: In member function ‘virtual nsresult nsMovemailService::GetNewMail(nsIMsgWindow*, nsIUrlListener*, nsIMsgFolder*, nsIMovemailIncomingServer*, nsIURI**)’:
/home/kd/projects/mozilla/mozilla.org/src/trunk/mailnews/local/src/nsMovemailService.cpp:360:3: error: ‘mMsgWindow’ was not declared in this scope
make[2]: *** [nsMovemailService.o] Error 1
Attachment #684213 - Flags: review?(neil)
Assignee: nobody → mnyromyr
(In reply to Karsten Düsterloh from comment #0)
> /home/kd/projects/mozilla/mozilla.org/src/trunk/mailnews/local/src/
> nsMovemailService.h:31:3: error: ‘nsCOMPtr’ does not name a type
Since the error is in the .h file, why did you patch the .cpp file?
(In reply to neil@parkwaycc.co.uk from comment #1)
> Since the error is in the .h file, why did you patch the .cpp file?

Huh? But I didn't!?!
Comment on attachment 684213 [details] [diff] [review]
include missing header

Oops, engage brain before typing...
Attachment #684213 - Flags: review?(neil) → review+
Attachment #684213 - Flags: superreview?(mbanner)
Comment on attachment 684213 [details] [diff] [review]
include missing header

This doesn't need sr.
Attachment #684213 - Flags: superreview?(mbanner)
https://hg.mozilla.org/comm-central/rev/44d69d59d729
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 20.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: