Opened 3 weeks ago

Last modified 3 weeks ago

#70843 assigned defect

rexx port build failure: -Wincompatible-function-pointer-types — at Version 2

Reported by: kwolcott Owned by: yoav.nir@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: sequoia Cc:
Port: rexx

Description (last modified by ryandesign (Ryan Carsten Schmidt))

/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

Change History (3)

Changed 3 weeks ago by kwolcott

comment:1 Changed 3 weeks ago by jmroot (Joshua Root)

Owner: set to yoav.nir@…
Status: newassigned

comment:2 Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: sequoia added
Note: See TracTickets for help on using tickets.