#21 parser.c won't compile with gcc-4.1.0-3 (FC5)

version 1.6.0
closed-fixed
5
2006-04-23
2006-03-27
No

Signedness of xmlChar disagrees with default char.

$ make
Making all in c
make[1]: Entering directory
`/home/mjs/linux/doxymacs-1.6.0/c'
if gcc -DPACKAGE_NAME=\"doxymacs\"
-DPACKAGE_TARNAME=\"doxymacs\"
-DPACKAGE_VERSION=\"1.6.0\"
-DPACKAGE_STRING=\"doxymacs\ 1.6.0\"
-DPACKAGE_BUGREPORT=\"http://sourceforge.net/projects/doxymacs\"
-DPACKAGE=\"doxymacs\" -DVERSION=\"1.6.0\"
-DSTDC_HEADERS=1 -DHAVE_STRDUP=1 -I. -I.
-I/usr/include/libxml2 -Wall -Werror
-fexpensive-optimizations -fomit-frame-pointer -g -O2
-MT doxymacs_parser.o -MD -MP -MF
".deps/doxymacs_parser.Tpo" -c -o doxymacs_parser.o
doxymacs_parser.c; \then mv -f
".deps/doxymacs_parser.Tpo" ".deps/doxymacs_parser.Po";
else rm -f ".deps/doxymacs_parser.Tpo"; exit 1; fi
cc1: warnings being treated as errors
doxymacs_parser.c: In function ‘XMLTagChild’:
doxymacs_parser.c:131: warning: pointer targets in
return differ in signedness
make[1]: *** [doxymacs_parser.o] Error 1
make[1]: Leaving directory
`/home/mjs/linux/doxymacs-1.6.0/c'
make: *** [all-recursive] Error 1

Discussion

  • Matthew Saltzman

    Logged In: YES
    user_id=144213

    Note that libxml version is libxml2-devel-2.6.23-1.2.

     
  • Ryan T. Sammartino

    Logged In: YES
    user_id=152677

    Patch 1443818 should fix this and will be included in the
    next release.

    Please try out the patch to confirm.

     
  • Matthew Saltzman

    Logged In: YES
    user_id=144213

    Yes, it does build without error now. Thanks.

     
  • Ryan T. Sammartino

    Logged In: YES
    user_id=152677

    Fixed in 1.7.0.

     
  • Ryan T. Sammartino

    • status: open --> closed-fixed
     

Log in to post a comment.