gcc4 compile fixes in bugzilla.gnome #162582

Derek Atkins warlord at MIT.EDU
Thu Dec 30 18:34:53 EST 2004


John Ellson <ellson at research.att.com> writes:

> The majority of the casts were fixing the use of unsigned char
> (xmlChar) for libxml2
> routines versus signed char (char and gchar) in routines like strcmp.
>
> I think that restructuring the code to be more table driven could
> help, but probably won't
> completely eliminate the problem which originates from libxml2.
>
> Every cast in the patch fixed a warning message from gcc4.  I did not
> attempt any more generalized changes.

Perhaps there's a gcc4-specific compiler option to turn off those
warnings that are new-in-gcc4?

> John

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list