[MacPorts] #69790: pulseaudio @17.0_0: error: incompatible function pointer types passing 'int (const struct dirent *)' to parameter of type 'int (*)(struct dirent *)' [-Wincompatible-function-pointer-types]

MacPorts noreply at macports.org
Sat Apr 20 18:45:15 UTC 2024


#69790: pulseaudio @17.0_0: error: incompatible function pointer types passing 'int
(const struct dirent *)' to parameter of type 'int (*)(struct dirent *)'
[-Wincompatible-function-pointer-types]
-------------------------+----------------------
  Reporter:  RobK88      |      Owner:  Ionic
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.9.3
Resolution:              |   Keywords:  lion
      Port:  pulseaudio  |
-------------------------+----------------------

Comment (by RobK88):

 Here is the workaround until this port is fixed:


 {{{
 bash-3.2$ sudo port clean pulseaudio
 --->  Cleaning pulseaudio
 bash-3.2$
 bash-3.2$ sudo port -v upgrade pulseaudio configure.compiler=macports-
 clang-11
 etc
 --->  Cleaning pulseaudio
 --->  Removing work directory for pulseaudio
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 }}}

 Note:  It does NOT build on Lion using `clang-16`.  It does build with
 `clang-11`.

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


More information about the macports-tickets mailing list