GNOME Bugzilla – Bug 304685
2 errors detected in the compilation of "gimpimage-snap.c".
Last modified: 2008-01-15 14:03:48 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
2005-05-18 Sven Neumann <sven@gimp.org> * app/core/gimpimage-snap.c: fix compilation on IRIX (bug #304685).
wow, that was VERY fast. so much thanks!!