pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pan-users] Re: Anyone get pan compiling with gcc 4.3 yet?


From: Duncan
Subject: [Pan-users] Re: Anyone get pan compiling with gcc 4.3 yet?
Date: Sun, 30 Mar 2008 14:17:43 +0000 (UTC)
User-agent: Pan/0.132 (Waxed in Black)

Daniel Rahn <address@hidden> posted
address@hidden, excerpted below, on  Sun, 30
Mar 2008 09:36:36 +0200:

> PS: So I assume you did not try the patch so far ;)

I hadn't.  I just did (using the patch as attached) and got failure.

Note that I'm normally building (and therefore patching against) live-svn 
(which has been revision 335 thru all of this, no updates), but I tried 
0.132 here too, just to be sure.  Same errors.  The patch applies fine 
but the compile fails with a bunch of strange '_' not declared errors; 
strange because _ doesn't seem a very sane var/function name by itself, 
but that's the error.  Looking at the code, at least some of the lines 
are pan logging lines of the form (or similar):

Log::add_err (_("error to log"));

That's about as far as I know how to go.

It was working before and I just double-checked that the previous patch 
(the inline substitute for glib.h) still worked; it does, for both 0.132 
and svn 335, but your glib-compat.h version fails in both cases with the 
same errors.

Here they are (this particular run was svn):

text-match.cc: In member function 'bool pan::TextMatch::PcreInfo::set
(const std::string&, bool)':
text-match.cc:209: error: '_' was not declared in this scope
text-match.cc:220: error: '_' was not declared in this scope
text-match.cc:228: error: '_' was not declared in this scope
make[3]: *** [text-match.o] Error 1
make[3]: *** Waiting for unfinished jobs....
e-util.cc: In constructor 'EvolutionDateMaker::EvolutionDateMaker
(time_t)':
e-util.cc:212: error: '_' was not declared in this scope
e-util.cc: In member function 'char* EvolutionDateMaker::get_date_string
(time_t) const':
e-util.cc:241: error: '_' was not declared in this scope
make[3]: *** [e-util.o] Error 1
utf8-utils.cc: In function 'std::string pan::content_to_utf8(const 
pan::StringView&, const char*, const char*)':
utf8-utils.cc:209: error: '_' was not declared in this scope
make[3]: *** [utf8-utils.o] Error 1
file-util.cc: In function 'bool pan::file::get_text_file_contents(const 
pan::StringView&, std::string&, const char*, const char*)':
file-util.cc:294: error: '_' was not declared in this scope
make[3]: *** [file-util.o] Error 1
make[3]: Leaving directory `/tmp/portage/net-nntp/pan-9999/work/pan-9999/
pan/general'

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman





reply via email to

[Prev in Thread] Current Thread [Next in Thread]