[MacPorts] #65444: krusader @2.4.0-beta3_2: error: ordered comparison between pointer and zero ('const void *' and 'int') (was: krusader @2.4.0-beta3_2 build failed)

MacPorts noreply at macports.org
Tue Jul 5 22:23:51 UTC 2022


#65444: krusader @2.4.0-beta3_2: error: ordered comparison between pointer and zero
('const void *' and 'int')
------------------------+--------------------
  Reporter:  osmobco    |      Owner:  (none)
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.7.2
Resolution:  duplicate  |   Keywords:
      Port:  krusader   |
------------------------+--------------------
Changes (by ryandesign):

 * status:  new => closed
 * resolution:   => duplicate
 * port:   => krusader


Comment:

 The errors in the log are:
 {{{
 krusader/Dialogs/packgui.cpp:67:9: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("tar")) typeData->addItem("tar");
         ^~~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 krusader/Dialogs/packgui.cpp:68:9: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("tar") && PS("gzip")) typeData->addItem("tar.gz");
         ^~~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 krusader/Dialogs/packgui.cpp:68:22: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("tar") && PS("gzip")) typeData->addItem("tar.gz");
                      ^~~~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 krusader/Dialogs/packgui.cpp:69:9: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("tar") && PS("bzip2")) typeData->addItem("tar.bz2");
         ^~~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 krusader/Dialogs/packgui.cpp:69:22: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("tar") && PS("bzip2")) typeData->addItem("tar.bz2");
                      ^~~~~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 krusader/Dialogs/packgui.cpp:70:9: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("tar") && PS("lzma")) typeData->addItem("tar.lzma");
         ^~~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 krusader/Dialogs/packgui.cpp:70:22: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("tar") && PS("lzma")) typeData->addItem("tar.lzma");
                      ^~~~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 krusader/Dialogs/packgui.cpp:71:9: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("tar") && PS("xz")) typeData->addItem("tar.xz");
         ^~~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 krusader/Dialogs/packgui.cpp:71:22: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("tar") && PS("xz")) typeData->addItem("tar.xz");
                      ^~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 krusader/Dialogs/packgui.cpp:72:9: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("zip")) typeData->addItem("zip");
         ^~~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 krusader/Dialogs/packgui.cpp:73:9: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("rar")) typeData->addItem("rar");
         ^~~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 krusader/Dialogs/packgui.cpp:74:9: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("lha")) typeData->addItem("lha");
         ^~~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 krusader/Dialogs/packgui.cpp:75:9: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("arj")) typeData->addItem("arj");
         ^~~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 krusader/Dialogs/packgui.cpp:76:9: error: ordered comparison between
 pointer and zero ('const void *' and 'int')
     if (PS("7z")) typeData->addItem("7z");
         ^~~~~~~~
 krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
 #define PS(x) lst.contains(x)>0
               ~~~~~~~~~~~~~~~^~
 }}}
 Duplicate of #58459.

-- 
Ticket URL: <https://trac.macports.org/ticket/65444#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list