#67312 closed update (fixed)

Please update chez-scheme to the latest to fix build errors

Reported by: papadil Owned by: mohd-akram (Mohamed Akram)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: Dave-Allured (Dave Allured)
Port: chez-scheme

Description (last modified by jmroot (Joshua Root))

Currently chez-scheme fails to build with:

/usr/bin/clang -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -m64
-Wpointer-arith -Wall -Wextra -Wno-implicit-fallthrough -Werror -O2
-I/opt/X11/include/ -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch
x86_64 -c -DX86_64 -I../boot/ta6osx   stats.c
segment.c:328:17: error: a function declaration without a prototype is
deprecated in all versions of C and is not supported in C2x
[-Werror,-Wdeprecated-non-prototype]
static seginfo *allocate_segments(nreq) uptr nreq; {
                 ^
segment.c:328:17: error: a function declaration without a prototype is
deprecated in all versions of C and is not supported in C2x
[-Werror,-Wdeprecated-non-prototype]
2 errors generated.
number.c:781:13: error: a function declaration without a prototype is
deprecated in all versions of C and is not supported in C2x
[-Werror,-Wdeprecated-non-prototype]
static void big_trunc(tc, x, y, xl, yl, qs, rs, q, r)
             ^
number.c:781:13: error: a function declaration without a prototype is
deprecated in all versions of C and is not supported in C2x
[-Werror,-Wdeprecated-non-prototype]
make[2]: *** [segment.o] Error 1

New update of chez-scheme is available that might fix the issue. Please update to the latest.

Change History (4)

comment:1 Changed 19 months ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

comment:2 Changed 19 months ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to mohd-akram
Port: chez-scheme added
Status: newassigned

comment:3 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Indeed, the one and only difference between 9.5.8 and 9.5.8a looks like the fix for this issue.

comment:4 Changed 19 months ago by mohd-akram (Mohamed Akram)

Resolution: fixed
Status: assignedclosed

In c42e7b47bed40feaf51773e01b60653b8c6f86f6/macports-ports (master):

chez-scheme: fix build

Fixes: #67312

Note: See TracTickets for help on using tickets.