[Gegl-developer] compile failed with GCC<4.0

lode leroy lode.leroy at gmail.com
Mon Apr 21 04:58:36 PDT 2008


(sorry, my previous mail was too fast...)

 I have had to apply the following correction:

Index: operations/common/brightness-contrast.c
===================================================================
--- operations/common/brightness-contrast.c     (revision 2210)
+++ operations/common/brightness-contrast.c     (working copy)
@@ -108,7 +108,7 @@
 }


-#ifdef USE_GCC_VECTORS
+#if USE_GCC_VECTORS

 static gboolean
 process_sse (GeglOperation *op,
@@ -169,7 +169,7 @@
   operation_class->description = _("Changes the light level and contrast.");


-#ifdef USE_GCC_VECTORS
+#if USE_GCC_VECTORS
   /* add conditionally compiled variation of process(), gegl should be able
    * to determine which is fastest and hopefully if any implementation is
    * broken and not conforming to the reference implementation.


More information about the Gegl-developer mailing list