From 4a6741ab2bb8f183abe8b28f5f68aa42d87bbdd3 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Mon, 13 Dec 2004 12:16:13 +0000 Subject: [PATCH] Fixed bug with g++ <= 3.2. --- src/mailboxList.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mailboxList.hpp b/src/mailboxList.hpp index 7c4ed40c..3cd5f038 100644 --- a/src/mailboxList.hpp +++ b/src/mailboxList.hpp @@ -32,7 +32,15 @@ namespace vmime /** A list of mailboxes (basic type). */ +#ifdef __GNUC__ +# if (__GNUC__ >= 3) && (__GNUC_MINOR__ <= 2) +class mailboxList : public addressList // BUG with gcc <= 3.2 +# else class mailboxList : protected addressList +# endif +#else +class mailboxList : protected addressList +#endif { friend class mailboxGroup;