Re: Re: Cone 0.60 released.

Matthias Andree <[email protected]>
Newsgroups gmane.mail.cone
Message-ID <[email protected]>
Sam Varshavchik <[email protected]> writes:

> I'm not sure exactly what 3.4's problem is here.  Even if I use
> -pedantic with 3.3, there are no complaints whatsoever.

The patch below fixes the problem for me (I sent it earlier to Sam only)
- I don't know the exact reason though (haven't read the C++ standards)
and I'm not interested to dig deeper now. Intel C++ 8 feels fine with
either version, as does GCC 3.3.

The GCC 3.4 changelog mentions that the C++ frontend is more picky about
standards conformance (which is a good idea BTW).

diff -ur cone-0.60/libmail/addressbookget.C cone-0.60-works/libmail/addressbookget.C
--- cone-0.60/libmail/addressbookget.C	2004-05-30 02:43:00.000000000 +0000
+++ cone-0.60-works/libmail/addressbookget.C	2004-06-03 23:39:18.000000000 +0000
@@ -260,5 +260,5 @@
 	addressBookLineMap.insert(make_pair(hdr, text));
 }
 
-template mail::addressbook::GetAddressList<mail::address>;
-template mail::addressbook::GetAddressList<mail::emailAddress>;
+template class mail::addressbook::GetAddressList<mail::address>;
+template class mail::addressbook::GetAddressList<mail::emailAddress>;

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone
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.