Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2017 12:22:16 -1000
From:      bruce <bruce@hawaii-pacific.com>
To:        FreeBSD-ports <freebsd-ports@freebsd.org>
Subject:   sword compile errors
Message-ID:  <e92da98e-a902-962b-dcf0-10e741e67f73@hawaii-pacific.com>

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

updating sword with portmaster caused  the following errors:


../src/keys/treekeyidx.cpp:64:12: error: ordered comparison between 
pointer and
       zero ('sword::FileDesc *' and 'int')
         if (datfd <= 0) {
             ~~~~~ ^  ~
../src/keys/treekeyidx.cpp:334:12: error: ordered comparison between 
pointer and
       zero ('sword::FileDesc *' and 'int')
         if (datfd > 0) {
             ~~~~~ ^ ~
../src/keys/treekeyidx.cpp:388:12: error: ordered comparison between 
pointer and
       zero ('sword::FileDesc *' and 'int')
         if (idxfd > 0) {
             ~~~~~ ^ ~
../src/keys/treekeyidx.cpp:425:12: error: ordered comparison between 
pointer and
       zero ('sword::FileDesc *' and 'int')
         if (idxfd > 0) {
             ~~~~~ ^ ~
../src/keys/treekeyidx.cpp:491:12: error: ordered comparison between 
pointer and
       zero ('sword::FileDesc *' and 'int')
         if (idxfd > 0) {
             ~~~~~ ^ ~
5 errors generated.


thanks for any help.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e92da98e-a902-962b-dcf0-10e741e67f73>