[Glade-devel] strcmp in glade-xml-utils [was: ShortCuts]

Tristan Van Berkom wrote:
   that must be because of xmlChar definitions, from a glance at
the libxml2 docs, we need to be using the BAD_CAST macro for all
the const strings that are passed into the glade-xml-utils api
for comparisons... nice catch; gcc 4 is looking good ;-p

Created this:

I forgot to mention, on top of using BAD_CAST, we also need to
use xmlStrcmp on the "xmlChar *"s, if you want to fix that that'd
be great, otherwise I'll eventually get around to it :)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]