[MacPorts] #69853: R-fs @1.6.3: error: incompatible function pointer types

MacPorts noreply at macports.org
Sun Apr 28 21:25:52 UTC 2024


#69853: R-fs @1.6.3: error: incompatible function pointer types
------------------------+--------------------------
 Reporter:  ryandesign  |      Owner:  barracuda156
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.9.3
 Keywords:              |       Port:  R-fs
------------------------+--------------------------
 https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/185664/steps
 /install-port/logs/stdio
 {{{
 src/unix/fs.c:552:57: error: incompatible function pointer types passing
 'int (uv__dirent_t **, uv__dirent_t **)' (aka 'int (struct dirent **,
 struct dirent **)') to parameter of type 'int (*)(const void *, const void
 *)' [-Wincompatible-function-pointer-types]
   n = scandir(req->path, &dents, uv__fs_scandir_filter,
 uv__fs_scandir_sort);
 ^~~~~~~~~~~~~~~~~~~
 /usr/include/dirent.h:129:37: note: passing argument to parameter here
     int (*)(struct dirent *), int (*)(const void *, const void *))
 __DARWIN_INODE64(scandir);
                                     ^
 1 error generated.
 }}}

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


More information about the macports-tickets mailing list