GNOME Bugzilla – Bug 140115
conflicting declarations in app/paint-funcs/paint-funcs.h
Last modified: 2004-06-11 23:11:38 UTC
When compiling (using gcc 3.4.0 from cvs), I get an error message about conflicting declarations. Please use the patch below. This is a patch: --- paint-funcs.h.old 2004-04-15 05:49:33.999984792 +0100 +++ paint-funcs.h 2004-04-15 05:45:50.054029752 +0100 @@ -356,7 +356,7 @@ gint, GimpLayerModeEffects, gboolean *, - CombinationMode); + InitialMode); void combine_regions (PixelRegion *, PixelRegion *, PixelRegion *, PixelRegion *,
Created attachment 26675 [details] [review] proposed patch for app/paint-funcs/paint-funcs.h Please confirm.
This header sucks so badly :( Yes, your patch looks correct.
Fixed in the HEAD branch by a more general cleanup: 2004-04-15 Sven Neumann <sven@gimp.org> * app/paint-funcs/paint-funcs.[ch]: * app/paint-funcs/paint-funcs-generic.h: header cleanup, added some const qualifiers, converted tabs to spaces. Fixes bug #140115 for the HEAD branch. For the stable branch, we should simply apply the patch.
Applied the patch in the gimp-2-0 branch: 2004-04-15 Sven Neumann <sven@gimp.org> * app/paint-funcs/paint-funcs.h: fixed declaration of initial_region() (bug #140115).
*** Bug 141112 has been marked as a duplicate of this bug. ***
*** Bug 143558 has been marked as a duplicate of this bug. ***
*** Bug 143808 has been marked as a duplicate of this bug. ***
*** Bug 144187 has been marked as a duplicate of this bug. ***