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 04:07:20 +0000 (UTC)
User-agent: Pan/0.132 (Waxed in Black)

walt <address@hidden> posted
address@hidden, excerpted below, on  Sat, 29 Mar 2008 15:40:39
-0700:

> In this particular case I agree with your idea to include glib.h --
> that's what that header file is for and it would have prevented this
> particular compile error.

The problem there, as mentioned elsewhere (maybe on the bug not the 
thread?) is that glib 2.12 and below is different again, and doesn't 
include glib.h.

So including gmessages.h works up thru 2.14 but not for 2.16, including 
glib.h works for 2.14 and 2.16 but not 2.12 and previous, and including 
gtestutils.h works for 2.16.  None of the above work for the entire range 
from 2.4, the apparent previous minimum required (according to Gentoo's 
dependencies anyway, I don't know of anyone actually using that far 
back), thru 2.16 and potentially forward.

Thus Dan's latest suggestion, using #if conditionals, but splitting all 
the glib logic out into its own glib-compat.h file for ease of 
maintenance, and just depending on it elsewhere in pan.

-- 
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]