WDef
  
 
  
 
 
Group: Members 
Posts: 798 
Joined: Sep. 2005 | 
  | 
Posted: Oct. 12 2008,22:30 | 
   | 
 
 
  
This upgrade contains some important fixes apparently and runs better.   Also, the Pan binary is now a sensible size.   Hacked the headers to get it to compile with our older gcc after getting help from the Pan community.   Here is the patch I made:
 
 | Code Sample  |  diff -Naur pan/general/debug.h pan.new/general/debug.h --- pan/general/debug.h 2008-10-12 11:20:22.000000000 -0400 +++ pan.new/general/debug.h 2008-10-12 11:21:16.000000000 -0400 @@ -42,13 +42,9 @@        std::cerr << LINE_ID << ' ' << A << '\n'; \    } while (0)   -#ifndef UNUSED -#ifdef  -#define UNUSED ((unused)) -#else +  #define UNUSED -#endif -#endif +      #endif diff -Naur pan/general/macros.h pan.new/general/macros.h --- pan/general/macros.h 2008-10-12 11:20:13.000000000 -0400 +++ pan.new/general/macros.h 2008-10-12 11:21:21.000000000 -0400 @@ -48,13 +48,9 @@  ***  UNUSED  **/   -#ifndef UNUSED -#ifdef  -#define UNUSED ((unused)) -#else +  #define UNUSED -#endif -#endif +    /**  ***  g_assert diff -Naur pan/gui/body-pane.h pan.new/gui/body-pane.h --- pan/gui/body-pane.h 2008-10-12 11:19:56.000000000 -0400 +++ pan.new/gui/body-pane.h 2008-10-12 11:21:41.000000000 -0400 @@ -17,6 +17,8 @@   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   */   +#define G_GNUC_UNUSED +  #ifndef _BodyPane_h_  #define _BodyPane_h_
  |    
 |