[Gimp-developer] libgimpbase/gimpbaseenums.h and gimpcompatenums.h name collisions
- From: Helmut Jarausch <jarausch skynet be>
- To: gimp-developer-list gnome org
- Subject: [Gimp-developer] libgimpbase/gimpbaseenums.h and gimpcompatenums.h name collisions
- Date: Thu, 12 Jan 2017 18:14:30 +0100
Hi, I cannot compile the GIT version (today 16:00 GMT)
Both, gimpbaseenums.h and gimpcompatenums.h define several enums of
the same name.
This is on Gentoo, gcc-6.3.0
Thanks for looking into it,
Helmut.
Here are a few lines from the error log:
In file included from gimpbase-private.c:29:0:
gimpcompatenums.h:36:3: error: redeclaration of enumerator
'GIMP_ADD_WHITE_MASK'
GIMP_ADD_WHITE_MASK = GIMP_ADD_MASK_WHITE,
^~~~~~~~~~~~~~~~~~~
In file included from gimpbasetypes.h:26:0,
from gimpbase-private.c:26:
../libgimpbase/gimpbaseenums.h:52:3: note: previous definition of
'GIMP_ADD_WHITE_MASK' was here
GIMP_ADD_WHITE_MASK = GIMP_ADD_MASK_WHITE, /*< skip,
pdb-skip >*/
^~~~~~~~~~~~~~~~~~~
In file included from gimpbase-private.c:29:0:
gimpcompatenums.h:37:3: error: redeclaration of enumerator
'GIMP_ADD_BLACK_MASK'
GIMP_ADD_BLACK_MASK = GIMP_ADD_MASK_BLACK,
^~~~~~~~~~~~~~~~~~~
In file included from gimpbasetypes.h:26:0,
from gimpbase-private.c:26:
../libgimpbase/gimpbaseenums.h:53:3: note: previous definition of
'GIMP_ADD_BLACK_MASK' was here
GIMP_ADD_BLACK_MASK = GIMP_ADD_MASK_BLACK, /*< skip,
pdb-skip >*/
^~~~~~~~~~~~~~~~~~~
In file included from gimpbase-private.c:29:0:
gimpcompatenums.h:38:3: error: redeclaration of enumerator
'GIMP_ADD_ALPHA_MASK'
GIMP_ADD_ALPHA_MASK = GIMP_ADD_MASK_ALPHA,
^~~~~~~~~~~~~~~~~~~
In file included from gimpbasetypes.h:26:0,
from gimpbase-private.c:26:
../libgimpbase/gimpbaseenums.h:54:3: note: previous definition of
'GIMP_ADD_ALPHA_MASK' was here
GIMP_ADD_ALPHA_MASK = GIMP_ADD_MASK_ALPHA, /*< skip,
pdb-skip >*/
^~~~~~~~~~~~~~~~~~~
In file included from gimpbase-private.c:29:0:
gimpcompatenums.h:39:3: error: redeclaration of enumerator
'GIMP_ADD_ALPHA_TRANSFER_MASK'
GIMP_ADD_ALPHA_TRANSFER_MASK = GIMP_ADD_MASK_ALPHA_TRANSFER,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from gimpbasetypes.h:26:0,
from gimpbase-private.c:26:
../libgimpbase/gimpbaseenums.h:55:3: note: previous definition of
'GIMP_ADD_ALPHA_TRANSFER_MASK' was here
GIMP_ADD_ALPHA_TRANSFER_MASK = GIMP_ADD_MASK_ALPHA_TRANSFER, /*<
skip, pdb-skip >*/
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]