[MacPorts] #67312: Please update chez-scheme to the latest to fix build errors
MacPorts
noreply at macports.org
Wed Apr 26 21:55:49 UTC 2023
#67312: Please update chez-scheme to the latest to fix build errors
--------------------------+------------------------
Reporter: papadil | Owner: mohd-akram
Type: update | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: chez-scheme |
--------------------------+------------------------
Changes (by jmroot):
* status: new => assigned
* owner: (none) => mohd-akram
* port: => chez-scheme
Old description:
> 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.
New description:
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.
--
--
Ticket URL: <https://trac.macports.org/ticket/67312#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list