Here's some more, after adding -Wall to the makefile. 

        Any ideas? 

gro-ard5:/src/compiling/m68k/prc-tools-0.5.0/pilrc2.0/src# make
gcc -Wall -O2 -g -DUNIX -I/local/include -I/usr/lib/glib/include -c 
xwin.c -o xwin.o
In file included from pilrc.h:10,
                 from xwin.c:4:
util.h:33: parse error before `FILE'
util.h:36: parse error before `*'
util.h:36: warning: type defaults to `int' in declaration of `vfhIn'
util.h:36: warning: data definition has no type or storage class
xwin.c: In function `file_selection_ok':
xwin.c:85: warning: implicit declaration of function `free'
xwin.c:86: warning: implicit declaration of function `strdup'
xwin.c:86: warning: assignment makes pointer from integer without a 
cast
xwin.c:90: warning: implicit declaration of function `strrchr'
xwin.c:90: warning: assignment makes pointer from integer without a 
cast
xwin.c:91: warning: implicit declaration of function `sprintf'
xwin.c:96: warning: implicit declaration of function `pilrc_reload'
xwin.c: In function `pilrcui_pilot_text':
xwin.c:131: warning: unused variable `style'
xwin.c:130: warning: unused variable `eto'
xwin.c: In function `pilrcui_drawform':
xwin.c:207: warning: unused variable `style'
xwin.c: In function `pilrc_reload':
xwin.c:619: warning: assignment makes pointer from integer without a 
cast
xwin.c:629: warning: implicit declaration of function `getcwd'
xwin.c:666: warning: control reaches end of non-void function
xwin.c: In function `create_main_window':
xwin.c:759: warning: assignment makes pointer from integer without a 
cast
xwin.c:699: warning: unused variable `menu'
xwin.c: In function `pilrcui_about_create':
xwin.c:783: warning: unused variable `i'
xwin.c: In function `usage':
xwin.c:893: warning: implicit declaration of function `printf'
xwin.c: In function `main':
xwin.c:922: warning: assignment makes pointer from integer without a 
cast
make: *** [xwin.o] Error 1




Reply via email to