Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2011 01:55:59 +0200
From:      dsh <daniel.haischt@googlemail.com>
To:        gahr@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: xqilla-2.2.4,1
Message-ID:  <CAC0wh9a2cHAODHiGmZLP0xHa1OFcPOOoRwc35kLqWAxm6siq=Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I am in the process of creating an Apache Qpid [1] port. Apache Qpid
optionally uses Apache Xerces and Xqilla. While compiling Apache Qpid
against Xqilla the compile process bails out because of certain Xqilla
header files which are generating warning messages because of -Wall
and -Werror (see below). I think most if not all of those warnings
could be addressed if the port would contain a patch file and thus I'd
like to ask whether you can update the port to include an appropriate
patch file that would patch the Xqilla header files?


libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../include -I../include
-I. -I=. -fPIC -I/usr/local/include -Werror -pedantic -Wall -Wextra
-Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long
-Wvolatile-register-var -Winvalid-pch -Wno-system-headers
-Woverloaded-virtual -DQPID_LIBEXEC_DIR=\"/usr/local/libexec/qpid\"
-DBOOST_FILESYSTEM_VERSION=2 -O2 -pipe -fno-strict-aliasing -MT
qpid/xml/XmlExchange.lo -MD -MP -MF qpid/xml/.deps/XmlExchange.Tpo -c
qpid/xml/XmlExchange.cpp  -fPIC -DPIC -o qpid/xml/.libs/XmlExchange.o
cc1plus: warnings being treated as errors
In file included from /usr/local/include/xqilla/simple-api/XQQuery.hpp:30,
                 from /usr/local/include/xqilla/xqilla-simple.hpp:23,
                 from ./qpid/xml/XmlExchange.h:30,
                 from qpid/xml/XmlExchange.cpp:24:
/usr/local/include/xqilla/runtime/ResultImpl.hpp: In copy constructor
'ResultImpl::ResultImpl(const ResultImpl&)':
/usr/local/include/xqilla/runtime/ResultImpl.hpp:61: warning: base
class 'class LocationInfo' should be explicitly initialized in the
copy constructor
In file included from /usr/local/include/xqilla/events/EventSerializer.hpp:25,
                 from /usr/local/include/xqilla/xqilla-simple.hpp:32,
                 from ./qpid/xml/XmlExchange.h:30,
                 from qpid/xml/XmlExchange.cpp:24:
/usr/local/include/xqilla/events/EventHandler.hpp: At global scope:
/usr/local/include/xqilla/events/EventHandler.hpp:38: warning: unused
parameter 'location'
/usr/local/include/xqilla/events/EventHandler.hpp:64: warning: unused
parameter 'type'
/usr/local/include/xqilla/events/EventHandler.hpp:64: warning: unused
parameter 'value'
/usr/local/include/xqilla/events/EventHandler.hpp:64: warning: unused
parameter 'typeURI'
/usr/local/include/xqilla/events/EventHandler.hpp:64: warning: unused
parameter 'typeName'
In file included from /usr/local/include/xqilla/xqilla-simple.hpp:32,
                 from ./qpid/xml/XmlExchange.h:30,
                 from qpid/xml/XmlExchange.cpp:24:
/usr/local/include/xqilla/events/EventSerializer.hpp:40: warning:
unused parameter 'location'
In file included from
/usr/local/include/xqilla/xerces/XercesConfiguration.hpp:26,
                 from /usr/local/include/xqilla/xqilla-simple.hpp:34,
                 from ./qpid/xml/XmlExchange.h:30,
                 from qpid/xml/XmlExchange.cpp:24:
/usr/local/include/xqilla/simple-api/XQillaConfiguration.hpp:55:
warning: unused parameter 'context'
/usr/local/include/xqilla/simple-api/XQillaConfiguration.hpp:57:
warning: unused parameter 'context'
gmake[3]: *** [qpid/xml/XmlExchange.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/net/qpid/work/qpidc-0.10/src'

[1] http://qpid.apache.org/

Cheers
Daniel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAC0wh9a2cHAODHiGmZLP0xHa1OFcPOOoRwc35kLqWAxm6siq=Q>