gcc 3.4

Nerijus Baliunas <[email protected]>
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
Hello,

with gcc 3.4.2 I get an error:

/a/M/M/include/Address.h: In static member function `static bool Message::CompareAddresses(const String&, const String&)':
/a/M/M/include/Address.h:148: error: `AddressList_obj::AddressList_obj(const AddressList_obj&)' is private
.src/mail/Message.cpp:349: error: within this context
/a/M/M/include/Address.h:148: error: `AddressList_obj::AddressList_obj(const AddressList_obj&)' is private
.src/mail/Message.cpp:349: error: within this context

Then, if I change #ifdef to #ifndef in Message.cpp:348:

In file included from /a/M/M/include/strutil.h:17,
                 from .src/mail/Message.cpp:351:
/a/M/M/include/pointers.h: In static member function `static bool Message::CompareAddresses(const String&, const String&)':
/a/M/M/include/pointers.h:64: error: expected primary-expression before "template"
/a/M/M/include/pointers.h:64: error: expected `;' before "template"
/a/M/M/include/pointers.h:220: error: expected primary-expression before "template"
/a/M/M/include/pointers.h:220: error: expected `;' before "template"
/a/M/M/include/pointers.h:278: error: expected primary-expression before "template"
/a/M/M/include/pointers.h:278: error: expected `;' before "template"
/a/M/M/include/pointers.h:331: error: expected primary-expression before "template"
/a/M/M/include/pointers.h:331: error: expected `;' before "template"

Regards,
Nerijus


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.