by kilowatt » Wed Mar 20, 2002 7:15 am
thanks for your reply,
I did come accross that on one of my searches, and it didn't work either. complainted about something being undefined.
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
c++ -I. -g -O2 -I/usr/X11R6/include -c DragAndDrop.cxx
DragAndDrop.cxx:107: initialization to `char *' from `unsigned char *' changes s ignedness
DragAndDrop.cxx:107: initialization to `char *' from `unsigned char *' changes s ignedness
DragAndDrop.cxx:107: initialization to `char *' from `unsigned char *' changes s ignedness
...snip...
make: *** [libDnd++.a] Error 1
</pre>[/quote]
any ideas?
from DragAndDrop.cxx, lines 90 through 107:
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">code:</font><hr><pre>
static CursorData DndCursor[DndEND]={
{ 0,0,NULL,NULL,0,0,0 },
{ grey_width, grey_height,grey_bits,grey_mask_bits,
grey_x_hot,grey_y_hot},
{ file_width,file_height,file_bits,file_mask_bits,
file_x_hot,file_y_hot},
{ files_width,files_height,files_bits,files_mask_bits,
files_x_hot,files_y_hot},
{ text_width,text_height,text_bits,text_mask_bits,
text_x_hot,text_y_hot },
{ dir_width,dir_height,dir_bits,dir_mask_bits,
dir_x_hot,dir_y_hot },
{ link_width,link_height,link_bits,link_mask_bits,
link_x_hot,link_y_hot},
{ app_width,app_height,app_bits,app_mask_bits,
app_x_hot,app_y_hot },
{ url_width,url_height,url_bits,url_mask_bits,
url_x_hot,url_y_hot },
{ mime_width,mime_height,mime_bits,mime_mask_bits,
mime_x_hot,mime_y_hot }
};
</pre>[/quote]
[ March 19, 2002: Message edited by: kilowatt ]</p>