Author
|
Topic: values.h - where can I get it?
|
|
willy wonka
Member
Member # 32
|
posted March 19, 2002 06:28 AM
looks like values.h is an older gnu c file. according to itself: /* This interface is obsolete. New programs should use <limits.h> and/or <float.h> instead of <values.h>. */i wonder if you could just replace <values.h> with <limits.h> and <float.h> that or get a copy of gnu c from '97 and see if the values.h from there will work. -------------------- -- -willy "Freedom will henceforth be compulsory." -Random Party Manifesto
Posts: 92 | Registered: Aug 2001
| IP: Logged
|
|
kilowatt
Junior Member
Member # 62
|
posted March 19, 2002 11:15 PM
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. code:
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
any ideas? from DragAndDrop.cxx, lines 90 through 107:
code:
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 } };
[ March 19, 2002: Message edited by: kilowatt ]
Posts: 13 | From: /dev | Registered: Aug 2001
| IP: Logged
|
|
|