[GRASS-dev] [bug #5186] (grass) diglib compilation problem (Solaris2.9/Sparc)

this bug's URL: http://intevation.de/rt/webrt?serial_num=5186
-------------------------------------------------------------------------

Subject: diglib compilation problem (Solaris2.9/Sparc)

There is a problem with lib/vector/diglib:

the compiler complains about this with most files in this folder:
"/home/fysop/92/harkiisk/include/ogr_core.h", line 200: warning:
enumerator value overflows INT_MAX (2147483647)"

Which may be the reason that at the end of the compilation I get:

cd OBJ.sparc-sun-solaris2.9;
LD_LIBRARY_PATH=":/home/fysop/92/harkiisk/src/grass6/dist.sparc-sun-solaris2.9/lib"
./test; diff
+./test.tmp ../test.ok
ERROR in read/write portable long, byte_order = 1
  Written: -2147483647
  Read : 2147483649
ERROR in read/write portable long, byte_order = 1
  Written: -123456789
  Read : 4171510507

but the module exists.

[report inserted by MN]

-------------------------------------------- Managed by Request Tracker