[MacPorts] #71883: rman-3.2_1 error: incompatible function pointer types

MacPorts noreply at macports.org
Mon Jan 20 07:30:43 UTC 2025


#71883: rman-3.2_1 error: incompatible function pointer types
------------------------+--------------------
 Reporter:  ashterenli  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:
------------------------+--------------------
 {{{
 :info:build rman.c:364:78: error: incompatible function pointer types
 passing 'int (const char **, const char **)' to parameter of type 'int (*
 _Nonnull)(const void *, const void *)' [-Wincompatible-function-pointer-
 types]
 :info:build   364 |                         exp = (char **)bsearch(&p,
 lcexceptions, lcexceptionslen, sizeof(char *), lcexceptionscmp);
 :info:build       |
 ^~~~~~~~~~~~~~~
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/_stdlib.h:138:38:
 note: passing argument to parameter '__compar' here
 :info:build   138 |             size_t __width, int (* _Nonnull
 __compar)(const void *, const void *));
 :info:build       |                                             ^
 }}}

 full bld log attached

-- 
Ticket URL: <https://trac.macports.org/ticket/71883>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list