Compiler warnings on Debian Sid kfreebsd-i386

Mislav Blazevic krofnica996 at gmail.com
Mon Aug 12 14:16:15 CDT 2013


It seems that xmlBufPtr was renamed to xmlBufferPtr in new libxml.


On Mon, Aug 12, 2013 at 9:15 PM, Mislav Blazevic <krofnica996 at gmail.com>wrote:

> It seems that xmlBufPtr was renamed to xmlBufferPtr in new libxml.
>
>
>
> On Mon, Aug 12, 2013 at 9:11 PM, Ken Sharp <kennybobs at o2.co.uk> wrote:
>
>> Following my previous e-mail (http://www.winehq.org/**
>> pipermail/wine-devel/2013-**August/100754.html<http://www.winehq.org/pipermail/wine-devel/2013-August/100754.html>)
>> I have since moved from Wheezy to Sid to work around a Debian bug.
>>
>> libxml2 has been updated (2.8.0+dfsg1-7+nmu1 --> 2.9.1+dfsg1-3) as a
>> result and introduced some new compiler warnings:
>>
>> /home/ken/wine-git/dlls/**msxml3/node.c: In function
>> ‘htmldtd_dumpcontent’:
>> /home/ken/wine-git/dlls/**msxml3/node.c:908:9: warning: passing argument
>> 1 of ‘xmlBufferWriteQuotedString’ from incompatible pointer type [enabled
>> by default]
>>          xmlBufferWriteQuotedString(**buf->buffer, cur->ExternalID);
>>          ^
>> In file included from /usr/include/libxml2/libxml/**parser.h:16:0,
>>                  from /home/ken/wine-git/dlls/**msxml3/node.c:28:
>> /usr/include/libxml2/libxml/**tree.h:1123:3: note: expected
>> ‘xmlBufferPtr’ but argument is of type ‘xmlBufPtr’
>>    xmlBufferWriteQuotedString(**xmlBufferPtr buf,
>>    ^
>> /home/ken/wine-git/dlls/**msxml3/node.c:912:13: warning: passing
>> argument 1 of ‘xmlBufferWriteQuotedString’ from incompatible pointer type
>> [enabled by default]
>>              xmlBufferWriteQuotedString(**buf->buffer, cur->SystemID);
>>              ^
>> In file included from /usr/include/libxml2/libxml/**parser.h:16:0,
>>                  from /home/ken/wine-git/dlls/**msxml3/node.c:28:
>> /usr/include/libxml2/libxml/**tree.h:1123:3: note: expected
>> ‘xmlBufferPtr’ but argument is of type ‘xmlBufPtr’
>>    xmlBufferWriteQuotedString(**xmlBufferPtr buf,
>>    ^
>> /home/ken/wine-git/dlls/**msxml3/node.c:918:9: warning: passing argument
>> 1 of ‘xmlBufferWriteQuotedString’ from incompatible pointer type [enabled
>> by default]
>>          xmlBufferWriteQuotedString(**buf->buffer, cur->SystemID);
>>          ^
>> In file included from /usr/include/libxml2/libxml/**parser.h:16:0,
>>                  from /home/ken/wine-git/dlls/**msxml3/node.c:28:
>> /usr/include/libxml2/libxml/**tree.h:1123:3: note: expected
>> ‘xmlBufferPtr’ but argument is of type ‘xmlBufPtr’
>>    xmlBufferWriteQuotedString(**xmlBufferPtr buf,
>>    ^
>> /home/ken/wine-git/dlls/**msxml3/node.c: In function
>> ‘node_transform_node’:
>> /home/ken/wine-git/dlls/**msxml3/node.c:974:21: warning: passing
>> argument 1 of ‘xmlBufferContent’ from incompatible pointer type [enabled by
>> default]
>>                      content = xmlBufferContent(output->**buffer);
>>                      ^
>> In file included from /usr/include/libxml2/libxml/**parser.h:16:0,
>>                  from /home/ken/wine-git/dlls/**msxml3/node.c:28:
>> /usr/include/libxml2/libxml/**tree.h:734:3: note: expected
>> ‘xmlBufferPtr’ but argument is of type ‘xmlBufPtr’
>>    xmlBufferContent (const xmlBufferPtr buf);
>>    ^
>>
>> Hopefully these mean something to someone.
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20130812/1b530739/attachment.html>


More information about the wine-devel mailing list