shenk Report post Posted July 3, 2006 i have download map_editor2 on CVS and I try compile but i have this error: >make -f Makefile.linux gcc -march=i686 -Wdeclaration-after-statement -Wall -Werror -O -ggdb -pipe -DLINUX -DELC -DMAP_EDITOR2 -I/usr/include/SDL -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c -o browser.o browser.c cc1: warnings being treated as errors browser.c: In function ‘parse_objects’: browser.c:105: warning: pointer targets in passing argument 2 of ‘xmlStrcasecmp’ differ in signedness browser.c:106: warning: pointer targets in passing argument 2 of ‘xmlGetProp’ differ in signedness browser.c:114: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness browser.c:114: warning: pointer targets in passing argument 1 of ‘__strdup’ differ in signedness browser.c:118: warning: pointer targets in passing argument 2 of ‘xmlGetFloat’ differ in signedness browser.c:121: warning: pointer targets in passing argument 2 of ‘xmlGetInt’ differ in signedness browser.c:122: warning: pointer targets in passing argument 2 of ‘xmlGetInt’ differ in signedness browser.c:123: warning: pointer targets in passing argument 2 of ‘xmlGetInt’ differ in signedness browser.c:125: warning: pointer targets in passing argument 2 of ‘xmlGetInt’ differ in signedness browser.c: In function ‘parse_category’: browser.c:149: warning: pointer targets in passing argument 2 of ‘xmlStrcasecmp’ differ in signedness browser.c:150: warning: pointer targets in passing argument 2 of ‘xmlGetProp’ differ in signedness browser.c:158: warning: pointer targets in assignment differ in signedness browser.c: In function ‘parse_browser’: browser.c:183: warning: pointer targets in passing argument 2 of ‘xmlStrcasecmp’ differ in signedness browser.c:184: warning: pointer targets in passing argument 2 of ‘xmlGetProp’ differ in signedness browser.c:192: warning: pointer targets in assignment differ in signedness browser.c: In function ‘load_browser’: browser.c:222: warning: pointer targets in passing argument 2 of ‘xmlStrcasecmp’ differ in signedness browser.c:224: warning: pointer targets in passing argument 2 of ‘xmlGetProp’ differ in signedness browser.c:227: warning: pointer targets in passing argument 2 of ‘parse_browser’ differ in signedness browser.c: In function ‘display_browser_handler’: browser.c:638: warning: pointer targets in passing argument 3 of ‘draw_string’ differ in signedness browser.c:643: warning: pointer targets in passing argument 3 of ‘draw_string’ differ in signedness browser.c:679: warning: pointer targets in passing argument 1 of ‘get_string_width’ differ in signedness browser.c:679: warning: pointer targets in passing argument 3 of ‘draw_string’ differ in signedness browser.c:712: warning: pointer targets in passing argument 1 of ‘get_string_width’ differ in signedness browser.c:712: warning: pointer targets in passing argument 3 of ‘draw_string’ differ in signedness browser.c:718: warning: pointer targets in passing argument 3 of ‘draw_string’ differ in signedness browser.c:724: warning: pointer targets in passing argument 3 of ‘draw_string’ differ in signedness browser.c: In function ‘display_browser_win’: browser.c:939: warning: pointer targets in passing argument 1 of ‘create_window’ differ in signedness browser.c:947: warning: assignment makes pointer from integer without a cast make: *** [browser.o] Error 1 Anyone can help me? thanks for all answer bye Share this post Link to post Share on other sites
Learner Report post Posted July 3, 2006 Map_editor2 is an incomplete project. Anyone working with it needs to be prepared to do a lot of work. Share this post Link to post Share on other sites
Wytter Report post Posted July 4, 2006 Greetings, Compile without -Werror and see if it compiles - the signedness are definately not issues, but GCC4 will show them by default. I do not know how much the EL API has changed during the past 6 months, but perhaps it will compile (doubt it). If it does, it should be usable, but needs some more work. Share this post Link to post Share on other sites