sword compile errors

bruce bruce at hawaii-pacific.com
Wed Sep 13 22:35:15 UTC 2017


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


More information about the freebsd-ports mailing list