Re: AW: compiling warnings
Jörg Pommnitz wrote: > A good guess without looking at the sources: a missing function prototype. > Without prototype C defaults to int. > > Regards > Joerg > > -Ursprüngliche Nachricht- > Von: Alexei Pashkovsky [mailto:[EMAIL PROTECTED]] > Gesendet am: Mittwoch, 24. Oktober 2001 14:22 > An: [EMAIL PROTECTED] > Betreff: compiling warnings > > Hi all, > currently the cvs compilation has these warnings : > > gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml > -I/usr/local/include -o gw/wap_push_si_compiler.o -c > gw/wap_push_si_compiler.c > gw/wap_push_si_compiler.c: In function `si_compile': > gw/wap_push_si_compiler.c:160: warning: assignment makes pointer from > integer without a cast > gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml > -I/usr/local/include -o gw/wml_compiler.o -c gw/wml_compiler.c > gw/wml_compiler.c: In function `wml_compile': > gw/wml_compiler.c:283: warning: assignment makes pointer from integer > without a cast > gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml > -I/usr/local/include -o gw/xml_shared.o -c gw/xml_shared.c > > Anyone knows what causes them and tried to solve ? > > Besides, --disable-docs flag didn't work this time. Have you tried make distclean ? I transferred functions to xml_shared but your gcc seems not to look them there. Aarno
AW: compiling warnings
A good guess without looking at the sources: a missing function prototype. Without prototype C defaults to int. Regards Joerg -Ursprüngliche Nachricht- Von: Alexei Pashkovsky [mailto:[EMAIL PROTECTED]] Gesendet am: Mittwoch, 24. Oktober 2001 14:22 An: [EMAIL PROTECTED] Betreff: compiling warnings Hi all, currently the cvs compilation has these warnings : gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml -I/usr/local/include -o gw/wap_push_si_compiler.o -c gw/wap_push_si_compiler.c gw/wap_push_si_compiler.c: In function `si_compile': gw/wap_push_si_compiler.c:160: warning: assignment makes pointer from integer without a cast gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml -I/usr/local/include -o gw/wml_compiler.o -c gw/wml_compiler.c gw/wml_compiler.c: In function `wml_compile': gw/wml_compiler.c:283: warning: assignment makes pointer from integer without a cast gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml -I/usr/local/include -o gw/xml_shared.o -c gw/xml_shared.c Anyone knows what causes them and tried to solve ? Besides, --disable-docs flag didn't work this time.
compiling warnings
Hi all, currently the cvs compilation has these warnings : gcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml -I/usr/local/include -o gw/wap_push_si_compiler.o -c gw/wap_push_si_compiler.cgw/wap_push_si_compiler.c: In function `si_compile':gw/wap_push_si_compiler.c:160: warning: assignment makes pointer from integer without a castgcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml -I/usr/local/include -o gw/wml_compiler.o -c gw/wml_compiler.cgw/wml_compiler.c: In function `wml_compile':gw/wml_compiler.c:283: warning: assignment makes pointer from integer without a castgcc -D_REENTRANT=1 -I. -g -O2 -I/usr/local/include/libxml -I/usr/local/include -o gw/xml_shared.o -c gw/xml_shared.c Anyone knows what causes them and tried to solve ? Besides, --disable-docs flag didn't work this time.