Opened 3 hours ago

#70843 new defect

rexx port build failure: -Wincompatible-function-pointer-types

Reported by: kwolcott Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: rexx

Description

/usr/bin/clang -c -DNDEBUG -pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.sdk -arch arm64 -g -DREGINA_SHARE_DIRECTORY=\"/opt/local/share/Regina-REXX\" -funsigned-char -DREGINA_VERSION_DATE=\""5 Apr 2015"\" -DREGINA_VERSION_MAJOR=\"3\" -DREGINA_VERSION_MINOR=\"9\" -DREGINA_VERSION_RELEASE=\"1\" -DREGINA_VERSION_SUPP=\"\" -DREGINA_BITS=64 -DHAVE_CONFIG_H -I. -I. -I./contrib -o regutil.o -DDYNAMIC -fno-common ./regutil/regutil.c ./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]

194 | RexxRegisterFunctionExe(funclist[i].name, funclist[i].funcptr);

|

./rexxsaa.h:646:38: note: passing argument to parameter 'EntryPoint' here

646 | RexxFunctionHandler *EntryPoint )

|

1 error generated. make: * [regutil.o] Error 1

MacOS 15.0 arm64

Attachments (1)

rexx_port_build_failure.log.bz2 (9.3 KB) - added by kwolcott 3 hours ago.

Download all attachments as: .zip

Change History (1)

Changed 3 hours ago by kwolcott

Note: See TracTickets for help on using tickets.