Hi,

when compiling the alpha4 on my Digital Alpha, I get these warnings at
the end:


gcc -O2         -I/usr/X11R6/include   -DCSRG_BASED   -DFUNCPROTO=15
-DNARROWPROTO   -DUSEM4 -DGNOME  -DXPM -DJPEG        -I/usr/pkg/include
-I/usr/X11R6/include -c libctwm.c
libctwm.c: In function `CtwmListWorkspaces':
libctwm.c:81: warning: type mismatch in implicit declaration for
built-in function `strlen'
libctwm.c:85: warning: cast to pointer from integer of different size
libctwm.c: In function `CtwmCurrentOccupation':
libctwm.c:161: warning: cast to pointer from integer of different size
libctwm.c: In function `CtwmSetOccupation':
libctwm.c:192: warning: cast to pointer from integer of different size
libctwm.c:196: warning: type mismatch in implicit declaration for
built-in function `strcpy'

These look like a problem with including the right #include files.

The "cast to pointer from integer of different size" warnings are about
malloc(), and needs <stdlib.h> and the one about strcpy() would mean that
<string.h> is needed.

Is libtwm even used, by the way? It is built at the end and not
installed that I can see...

Cheers,
-Olaf.
-- 
___ Olaf 'Rhialto' Seibert      -- The evil eye is caused by the black
\X/ rhialto/at/xs4all.nl        -- tongue - Tom Poes, "Het boze oog", 4456.

Reply via email to