From 7b3dd58edbf434fae63f466e95b1c6e966b748d1 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 21 Jun 2005 16:49:00 +0000 Subject: [PATCH] Fixed compilation errors with g++ 4.0. --- ChangeLog | 4 ++++ src/messaging/maildir/maildirMessage.cpp | 2 +- vmime/messaging/folder.hpp | 1 + vmime/messaging/imap/IMAPMessage.hpp | 3 +++ vmime/messaging/imap/IMAPStore.hpp | 1 + vmime/messaging/maildir/maildirFolder.hpp | 1 + vmime/messaging/pop3/POP3Message.hpp | 3 +++ vmime/messaging/pop3/POP3Store.hpp | 3 +++ 8 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 552868fd..44777393 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,10 @@ VERSION 0.7.1cvs ================ +2005-06-21 Vincent Richard + + * Fixed compilation errors with g++ 4.0. + 2005-06-13 Vincent Richard * word.cpp: fixed a bug in parsing, when the first character of word data diff --git a/src/messaging/maildir/maildirMessage.cpp b/src/messaging/maildir/maildirMessage.cpp index 9a56a472..e9042979 100644 --- a/src/messaging/maildir/maildirMessage.cpp +++ b/src/messaging/maildir/maildirMessage.cpp @@ -329,7 +329,7 @@ void maildirMessage::extractPart(const part& p, utility::outputStream& os, void maildirMessage::extractImpl(utility::outputStream& os, utility::progressionListener* progress, const int start, const int length, const int partialStart, const int partialLength, - const bool peek) const + const bool /* peek */) const { utility::fileSystemFactory* fsf = platformDependant::getHandler()->getFileSystemFactory(); diff --git a/vmime/messaging/folder.hpp b/vmime/messaging/folder.hpp index 610e55af..945c862b 100644 --- a/vmime/messaging/folder.hpp +++ b/vmime/messaging/folder.hpp @@ -26,6 +26,7 @@ #include "vmime/types.hpp" #include "vmime/dateTime.hpp" +#include "vmime/message.hpp" #include "vmime/messaging/message.hpp" #include "vmime/messaging/events.hpp" diff --git a/vmime/messaging/imap/IMAPMessage.hpp b/vmime/messaging/imap/IMAPMessage.hpp index 229709c3..43199110 100644 --- a/vmime/messaging/imap/IMAPMessage.hpp +++ b/vmime/messaging/imap/IMAPMessage.hpp @@ -32,6 +32,9 @@ namespace messaging { namespace imap { +class IMAPFolder; + + /** IMAP message implementation. */ diff --git a/vmime/messaging/imap/IMAPStore.hpp b/vmime/messaging/imap/IMAPStore.hpp index 3ce7b8de..59689b87 100644 --- a/vmime/messaging/imap/IMAPStore.hpp +++ b/vmime/messaging/imap/IMAPStore.hpp @@ -38,6 +38,7 @@ namespace imap { class IMAPParser; class IMAPTag; class IMAPConnection; +class IMAPFolder; /** IMAP store service. diff --git a/vmime/messaging/maildir/maildirFolder.hpp b/vmime/messaging/maildir/maildirFolder.hpp index 8eaaf333..106337c1 100644 --- a/vmime/messaging/maildir/maildirFolder.hpp +++ b/vmime/messaging/maildir/maildirFolder.hpp @@ -37,6 +37,7 @@ namespace maildir { class maildirStore; +class maildirMessage; /** maildir folder implementation. diff --git a/vmime/messaging/pop3/POP3Message.hpp b/vmime/messaging/pop3/POP3Message.hpp index 3ac3cedb..55475cc1 100644 --- a/vmime/messaging/pop3/POP3Message.hpp +++ b/vmime/messaging/pop3/POP3Message.hpp @@ -32,6 +32,9 @@ namespace messaging { namespace pop3 { +class POP3Folder; + + /** POP3 message implementation. */ diff --git a/vmime/messaging/pop3/POP3Store.hpp b/vmime/messaging/pop3/POP3Store.hpp index fc8210c0..2de892cc 100644 --- a/vmime/messaging/pop3/POP3Store.hpp +++ b/vmime/messaging/pop3/POP3Store.hpp @@ -35,6 +35,9 @@ namespace messaging { namespace pop3 { +class POP3Folder; + + /** POP3 store service. */