diff options
Diffstat (limited to 'vmime')
-rw-r--r-- | vmime/net/imap/IMAPParser.hpp | 1 | ||||
-rw-r--r-- | vmime/platform.hpp | 2 | ||||
-rw-r--r-- | vmime/platforms/posix/posixHandler.hpp | 2 | ||||
-rw-r--r-- | vmime/platforms/windows/windowsHandler.hpp | 2 | ||||
-rw-r--r-- | vmime/security/cert/X509Certificate.hpp | 3 | ||||
-rw-r--r-- | vmime/utility/smartPtr.hpp | 4 |
6 files changed, 9 insertions, 5 deletions
diff --git a/vmime/net/imap/IMAPParser.hpp b/vmime/net/imap/IMAPParser.hpp index 2e6f7cc8..c8300122 100644 --- a/vmime/net/imap/IMAPParser.hpp +++ b/vmime/net/imap/IMAPParser.hpp @@ -5056,7 +5056,6 @@ private: string m_buffer; - int m_pos; string m_lastLine; diff --git a/vmime/platform.hpp b/vmime/platform.hpp index cb86dfd8..1d6c059e 100644 --- a/vmime/platform.hpp +++ b/vmime/platform.hpp @@ -69,7 +69,7 @@ public: * * @return UNIX Epoch time */ - virtual unsigned int getUnixTime() const = 0; + virtual unsigned long getUnixTime() const = 0; /** Return the current date and time, in the local time zone. * diff --git a/vmime/platforms/posix/posixHandler.hpp b/vmime/platforms/posix/posixHandler.hpp index 4bf3a220..e7bdea4a 100644 --- a/vmime/platforms/posix/posixHandler.hpp +++ b/vmime/platforms/posix/posixHandler.hpp @@ -55,7 +55,7 @@ public: posixHandler(); ~posixHandler(); - unsigned int getUnixTime() const; + unsigned long getUnixTime() const; const vmime::datetime getCurrentLocalTime() const; diff --git a/vmime/platforms/windows/windowsHandler.hpp b/vmime/platforms/windows/windowsHandler.hpp index 5e95d65b..2ca8b7dc 100644 --- a/vmime/platforms/windows/windowsHandler.hpp +++ b/vmime/platforms/windows/windowsHandler.hpp @@ -54,7 +54,7 @@ public: windowsHandler(); ~windowsHandler(); - unsigned int getUnixTime() const; + unsigned long getUnixTime() const; const vmime::datetime getCurrentLocalTime() const; diff --git a/vmime/security/cert/X509Certificate.hpp b/vmime/security/cert/X509Certificate.hpp index 7e45dafb..4b9145f2 100644 --- a/vmime/security/cert/X509Certificate.hpp +++ b/vmime/security/cert/X509Certificate.hpp @@ -36,6 +36,7 @@ #include "vmime/utility/stream.hpp" #include "vmime/base.hpp" +#include "vmime/types.hpp" #include "vmime/dateTime.hpp" @@ -82,7 +83,7 @@ public: * @return a X.509 certificate, or NULL if the given data does not * represent a valid certificate */ - static ref <X509Certificate> import(const byte_t* data, const unsigned int length); + static ref <X509Certificate> import(const byte_t* data, const size_t length); /** Exports this X.509 certificate to the specified format. * diff --git a/vmime/utility/smartPtr.hpp b/vmime/utility/smartPtr.hpp index acfdaa88..c7e7c33e 100644 --- a/vmime/utility/smartPtr.hpp +++ b/vmime/utility/smartPtr.hpp @@ -128,7 +128,11 @@ class null_ref { private: + +#pragma GCC diagnostic ignored "-Wunused-private-field" int foo; +#pragma GCC diagnostic warning "-Wunused-private-field" + }; |