Opened 5 months ago

Last modified 8 weeks ago

#70843 assigned defect

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

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

Attachments (1)

rexx_port_build_failure.log.bz2 (9.3 KB) - added by kwolcott 5 months ago.

Download all attachments as: .zip

Change History (5)

Changed 5 months ago by kwolcott

comment:1 Changed 5 months ago by jmroot (Joshua Root)

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

comment:2 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: sequoia added

comment:3 Changed 3 months ago by kwolcott

still no fix?

comment:4 Changed 8 weeks ago 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
Last edited 8 weeks ago by papadil (previous) (diff)
Note: See TracTickets for help on using tickets.