Hey, On Sat, 2005-08-27 at 12:56 +0300, Enver ALTIN wrote: > On Sat, Aug 27, 2005 at 07:01:22AM +0100, kannel wrote: > > Kannel compilation test. > > Output of 'make -s': > > gw/wap-appl.c: In function `normalize_charset': > > gw/wap-appl.c:707: warning: suggest explicit braces to avoid ambiguous > > `else' > > gw/wml_compiler.c: In function `wml_compile': > > gw/wml_compiler.c:364: warning: implicit declaration of function > > `xmlReadMemory' > > gw/wml_compiler.c:364: `XML_PARSE_RECOVER' undeclared (first use in this > > function) > > gw/wml_compiler.c:364: (Each undeclared identifier is reported only once > > gw/wml_compiler.c:364: for each function it appears in.) > > gw/wml_compiler.c:364: `XML_PARSE_NONET' undeclared (first use in this > > function) > > gw/wml_compiler.c:364: warning: assignment makes pointer from integer > > without a cast > > make: *** [gw/wml_compiler.o] Error 1 > > I have been receiving these for a while now, and although I could not > duplicate the error here on my development server running Debian/sarge > and gcc-3.3.5 I think attached trivial patch will get rid of these > warnings.
Just as a quick note, Kannel issues soooo many weird warnings with gcc4, I think mainly caused by a good mix of signedness inconsistency *Octstr and *char. I assume gcc is right about that. Totally out of curiosity, have any of you got Kannel running on AMD64? Thanks, -- .O. ..O Enver ALTIN | http://skyblue.gen.tr/ OOO Software developer @ Parkyeri | http://www.parkyeri.com/
signature.asc
Description: This is a digitally signed message part
