Skip site navigation (1) Skip section navigation (2)

Re: build/install xml2 when configured with libxml

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: build/install xml2 when configured with libxml
Date: 2007-04-13 21:31:40
Message-ID: 461FF6BC.9060408@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Bruce Momjian wrote:
> Andrew Dunstan wrote:
>   
>> Peter Eisentraut wrote:
>>     
>>>> And if it is, then you have several options: 
>>>> . don't configure with libxml, or
>>>> . don't build contrib modules from the contrib Makefile (use the
>>>> individual module Makefiles instead), or
>>>> . change the xml2 Makefile
>>>>     
>>>>         
>>> Any of these could be worth considering, but it needs to be thought 
>>> through first.
>>>
>>>   
>>>       
>> Well, I'm happy to receive suggestions.
>>     
>
> Andrew has enabled /contrib/xml2 builds.
>
>   

And in turn we have found some warnings we should look at cleaning up, e.g.:

ccache gcc -no-cpp-precomp -I/opt/libxml2-2.6.27_20070107/include/libxml2  -I. -I../../src/include -I/opt/libxml2-2.6.27_20070107/include/libxml2   -c -o xpath.o xpath.c -MMD -MP -MF .deps/xpath.Po
xpath.c: In function 'xml_encode_special_chars':
xpath.c:212: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xpath.c: In function 'pgxmlNodeSetToText':
xpath.c:268: warning: pointer targets in passing argument 2 of 'xmlBufferWriteChar' differ in signedness
xpath.c: In function 'pgxml_result_to_text':
xpath.c:607: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness
xpath.c:612: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
xpath.c: In function 'xpath_table':
xpath.c:663: warning: pointer targets in initialization differ in signedness
xpath.c:738: warning: pointer targets in assignment differ in signedness
xpath.c:742: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness
xpath.c:742: warning: pointer targets in passing argument 2 of 'strstr' differ in signedness
xpath.c:742: warning: pointer targets in assignment differ in signedness
xpath.c:896: warning: pointer targets in passing argument 1 of 'xmlStrdup' differ in signedness
xpath.c:904: warning: pointer targets in assignment differ in signedness
ccache gcc -no-cpp-precomp -I/opt/libxml2-2.6.27_20070107/include/libxml2  -I. -I../../src/include -I/opt/libxml2-2.6.27_20070107/include/libxml2   -c -o xslt_proc.o xslt_proc.c -MMD -MP -MF .deps/xslt_proc.Po
xslt_proc.c: In function 'xslt_process':
xslt_proc.c:105: warning: pointer targets in passing argument 1 of 'xsltParseStylesheetFile' differ in signedness



cheers

andrew



In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2007-04-13 22:48:21
Subject: choose_bitmap_and again (was Re: Strangely Variable Query Performance)
Previous:From: Simon RiggsDate: 2007-04-13 21:10:07
Subject: Re: [HACKERS] [Fwd: Index Advisor]

pgsql-patches by date

Next:From: Tom LaneDate: 2007-04-13 22:48:21
Subject: choose_bitmap_and again (was Re: Strangely Variable Query Performance)
Previous:From: Simon RiggsDate: 2007-04-13 21:10:07
Subject: Re: [HACKERS] [Fwd: Index Advisor]

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group