After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 304685 - 2 errors detected in the compilation of "gimpimage-snap.c".
2 errors detected in the compilation of "gimpimage-snap.c".
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
2.3.x
Other IRIX
: Normal minor
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2005-05-18 19:01 UTC by g.fischer@ah-online.com
Modified: 2008-01-15 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description g.fischer@ah-online.com 2005-05-18 19:01:17 UTC
Distribution/Version: 6.5.27

irix 6.5.27, mipspro 7.42. gimp 2.3.0 snap.
--------

cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../../app -I../../app
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/gtk-2.0   -I/usr/nekoware/include/libart-2.0  
-I/usr/local/gimp/include -DG_LOG_DOMAIN=\"Gimp-Core\" -DGIMP_COMPILATION
-D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  
-I/usr/local/include -I/usr/local2/include -I/usr/nekoware/include
-DGIMP_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED
-DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -O3 -mips4  -OPT:IEEE_arithmetic=3
-lfastm -lm -c `test -f 'gimpimage-snap.c' || echo './'`gimpimage-snap.c
cc-1028 cc: ERROR File = gimpimage-snap.c, Line = 415
  The expression used must have a constant value.

        GimpCoords   coords  = { x, y, 0, 0, 0 };
                                 ^

cc-1028 cc: ERROR File = gimpimage-snap.c, Line = 415
  The expression used must have a constant value.

        GimpCoords   coords  = { x, y, 0, 0, 0 };
                                    ^

cc-1551 cc: WARNING File = gimpimage-snap.c, Line = 559
  The variable "nearest" is used before its value is set.

                dist = ABS (nearest.y - y1);
                       ^

cc-1552 cc: WARNING File = gimpimage-snap.c, Line = 535
  The variable "coords1" is set but never used.

        GimpCoords   coords1 = { 0, 0, 0, 0, 0 };
                     ^

cc-1552 cc: WARNING File = gimpimage-snap.c, Line = 536
  The variable "coords2" is set but never used.

        GimpCoords   coords2 = { 0, 0, 0, 0, 0 };
                     ^

2 errors detected in the compilation of "gimpimage-snap.c".
gmake[3]: *** [gimpimage-snap.o] Error 2
Comment 1 Sven Neumann 2005-05-18 19:54:16 UTC
2005-05-18  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-snap.c: fix compilation on IRIX (bug #304685).
Comment 2 g.fischer@ah-online.com 2005-05-18 20:13:01 UTC
wow, that was VERY fast.
so much thanks!!