[MacPorts] #71181: cclient @2007f_4: error: incompatible function pointer types (was: cclient @2007f_4 build failure)

MacPorts noreply at macports.org
Tue Oct 29 06:27:28 UTC 2024


#71181: cclient @2007f_4: error: incompatible function pointer types
-------------------------+---------------------
  Reporter:  Oniimoucha  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.2
Resolution:              |   Keywords:  sequoia
      Port:  cclient     |
-------------------------+---------------------
Changes (by ryandesign):

 * keywords:  Sequoia => sequoia


Comment:

 Thanks. The reason in the log is:

 {{{
 :info:build news.c:370:36: error: incompatible function pointer types
 passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct
 dirent *)' [-Wincompatible-function-pointer-types]
 :info:build   370 |   if ((nmsgs = scandir
 (tmp,&names,news_select,news_numsort)) >= 0) {
 :info:build       |                                    ^~~~~~~~~~~
 }}}

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


More information about the macports-tickets mailing list