From: Mikhail G. <mgr...@co...> - 2003-12-17 05:42:09
|
Thanks for the patch! I will try to apply it (at least some parts) before next version comes out. ----- Original Message ----- From: "Olivier Courtin" <oli...@pn...> To: <xml...@li...> Sent: Sunday, December 14, 2003 2:10 PM Subject: [Xmlstar-devel] Compilation Warning > Hi, > > As i wanted to play with xmlstarlet, i get several compilation warning. > (gcc 3.2.3, linux 2.4.19, libxml 2.6.2, xmlstarlet CVS or 0.7.0) > > So i send you a patch with following changelog : > ( notice that i'm not at all a c expert, so... ) > > 1) Remove Warning with -Wall -pedantic compilation : > > - usage string chunk -> 509 char min on ISO C90 > > > 2) Remove Warning with -Wall -ansi -pedantic compilation : > > - add ansi flag, and remove -g -> configure.in > - snprintf convert as sprintf -> ANSI compliant > - strdup implementation -> ANSI compliant > - stat macro modification (xml_ls.c) -> POSIX compliant > - lstat convert as stat -> ansi compliant > > > 3) Remove LibXml API Warning : > - SAX handler modification (xml_pyx.c) -> API libxml 2.6.2 > - docbook support removed -> deprecated since libxml 2.6.0 API > > > 4) User Friendly : > - configure.in modification -> check libxml2 version >= 2.6.2 > > > 5) Tidy : > - remove unused fonction and headers from configure check > - use #include "config.h" instead of <config.h> > > HTH :) > > -- > Olivier Courtin > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.550 / Virus Database: 342 - Release Date: 12/9/2003 |