[MacPorts] #70843: rexx port build failure: -Wincompatible-function-pointer-types
MacPorts
noreply at macports.org
Sun Dec 15 02:13:38 UTC 2024
#70843: rexx port build failure: -Wincompatible-function-pointer-types
-----------------------+------------------------
Reporter: kwolcott | Owner: yoav.nir@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: sequoia
Port: rexx |
-----------------------+------------------------
Comment (by papadil):
Just now:
:info:build /usr/bin/clang -c -DNDEBUG -pipe -Os
-isysroot/Library/Develope
r/CommandLineTools/SDKs/MacOSX15.sdk -arch arm64 -g
-DREGINA_SHARE_DIRECTOR
Y=\"/opt/local/share/Regina-REXX\" -funsigned-char
-DREGINA_VERSION_DATE=\"
"5 Apr 2015"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\"
-D
REGINA_VERSION_RELEASE=\"1\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64
-D
HAVE_CONFIG_H -I. -I. -I./contrib -o regutil.o -DDYNAMIC -fno-common
./regutil/regutil.c
:info:build ./regutil/regutil.c:194:51: error: incompatible function
pointer types passing 'ULONG (*)(PUCHAR, ULONG, PRXSTRING, PSZ,
PRXSTRING)' (aka 'unsigned long (*)(unsigned char *, unsigned long, struct
RXSTRING_type *, char *, struct RXSTRING_type *)') to parameter of type
'RexxFunctionHandler *' (aka 'unsigned long (*)(const char *, unsigned
long, struct RXSTRING_type *, const char *, struct RXSTRING_type *)')
[-Wincompatible-function-pointer-types]
:info:build 194 | RexxRegisterFunctionExe(funclist[i].name,
funclist[i].funcptr);
:info:build |
^~~~~~~~~~~~~~~~~~~
:info:build ./rexxsaa.h:646:38: note: passing argument to parameter
'EntryPoint' here
:info:build 646 | RexxFunctionHandler *EntryPoint )
:info:build | ^
:info:build 1 error generated.
:info:build make: *** [regutil.o] Error 1
--
Ticket URL: <https://trac.macports.org/ticket/70843#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list