Re: build/install xml2 when configured with libxml
| От | Andrew Dunstan |
|---|---|
| Тема | Re: build/install xml2 when configured with libxml |
| Дата | |
| Msg-id | 461FF6BC.9060408@dunslane.net обсуждение исходный текст |
| Ответ на | Re: build/install xml2 when configured with libxml (Bruce Momjian <bruce@momjian.us>) |
| Список | pgsql-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
В списке pgsql-patches по дате отправления: