freetype-devel
[Top][All Lists]
Advanced

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

[Devel] [patch] make freetype1 compile with gcc-3.3


From: Arnd Bergmann
Subject: [Devel] [patch] make freetype1 compile with gcc-3.3
Date: Mon, 25 Nov 2002 23:14:51 +0100
User-agent: KMail/1.4.3

I needed the patch below to compile the freetype package
from Red Hat with a recent gcc snapshot. The bug still
appears to be present in CVS head.

        Arnd <><

--- freetype-pre1.4/test/ftdump.c        2000-01-05 02:16:07.000000000 +0100
+++ freetype-pre1.4/test/ftdump.c  2002-10-30 13:48:41.000000000 +0100
@@ -140,7 +140,7 @@
     old_memory += *var;
   }

-#define FOOTPRINT( field )  Save_Memory( &memory_footprint.##field )
+#define FOOTPRINT( field )  Save_Memory( &memory_footprint.field )


   static void
@@ -153,7 +153,7 @@
   }

 #define PRINT_MEM( field, string ) \
-          Print_Mem( memory_footprint.##field, string )
+          Print_Mem( memory_footprint.field, string )


   /* Print the memory footprint */





reply via email to

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