RSS/Atom feed Twitter
Site is read-only, email is disabled

compile failed with GCC<4.0

This discussion is connected to the gegl-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

compile failed with GCC<4.0 lode leroy 21 Apr 13:55
compile failed with GCC<4.0 lode leroy 21 Apr 13:58
compile failed with GCC<4.0 Martin Nordholts 21 Apr 14:22
compile failed with GCC<4.0 Øyvind Kolås 21 Apr 14:30
lode leroy
2008-04-21 13:55:54 UTC (about 17 years ago)

compile failed with GCC<4.0

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,

lode leroy
2008-04-21 13:58:36 UTC (about 17 years ago)

compile failed with GCC<4.0

(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.

Martin Nordholts
2008-04-21 14:22:16 UTC (about 17 years ago)

compile failed with GCC<4.0

lode leroy wrote:

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

I have had to apply the following correction:

What is the compilation error message?

- Martin

Øyvind Kolås
2008-04-21 14:30:48 UTC (about 17 years ago)

compile failed with GCC<4.0

On Mon, Apr 21, 2008 at 12:58 PM, lode leroy wrote:

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

Please svn up, should work in svn trunk now, I've changed the USE_GCC_VECTORS define to be possible to check with both #if and #ifdef. (I think this should work at least)

/Øyvind K.