[GRASS5] Re: [GRASS-COMMIT-CVS] CVS update: grass/src/display/devices/XDRIVER/XDRIVER24

Hi Andreas,

On Wed, Dec 06, 2000 at 12:58:04AM +0100, grass@intevation.de wrote:

Date: Tuesday December 5, 2000 @ 23:58
Author: andreas

Update of /grassrepository/grass/src/display/devices/XDRIVER/XDRIVER24
In directory intevation.de:/tmp/cvs-serv24375

Modified Files:
  Clr_table.c Get_w_pnt.c Panel.c Raster.c SWITCHER.c alloc.c
  pad.h
Log Message:
fixed again typecasts, changed to G_malloc etc.

Thanks for these fixes. I have fixed another comment-in-comment
in src/display/devices/XDRIVER/lib/graph.h

Testing on CRAY it *compiles* now!

Maybe interesting, two warnings are left (CRAY):
/home/t3e/fsn/nhdc/nhdcmark/grass/src/display/devices/XDRIVER/lib
  make -f OBJ.alpha-cray-unicosmk2.0.4.X/make.rules

        cc -g -I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include -c
Raster_def.c -o OBJ.alpha-cray-unicosmk2.0.4.X/Raster_def.o
CC-167 cc: WARNING File = Raster_def.c, Line = 47
  Argument of type "int *" is incompatible with parameter of type
          "unsigned int *".

        Raster_int(num, nrows, int_array, withzeros, color_type) ;
                               ^

        cc -g -I../../lib
-I/home/t3e/fsn/nhdc/nhdcmark/grass/src/include -c Raster.c -o
OBJ.alpha-cray-unicosmk2.0.4.X/Raster.o
CC-167 cc: WARNING File = Raster.c, Line = 95
  Argument of type "unsigned int *" is incompatible with parameter of type
          "int *".

              _get_color_index_array(array, num) ;
                                     ^

On Linux there is this warning:

/home/neteler/ggg/src/display/devices/XDRIVER/XDRIVER24'
gcc -g -O2 -I/usr/X11R6/include -I../../lib
-I/home/neteler/ggg/src/include -c SWITCHER.c -o
OBJ.i686-pc-linux-gnu/SWITCHER.o
SWITCHER.c:74: warning: static declaration for 'find_item' follows non-static

I won't change it, perhaps you will do?

Regards

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'