Fwd: chez-scheme compilation issue

ppadilcdx at gmail.com ppadilcdx at gmail.com
Wed Apr 26 18:51:26 UTC 2023


I see a related trac ticket from 3 years ago with a related issue 
(#60772). I compiled it outside macports w/o the error (just warnings) 
and it runs fine.  Should I update the previous ticket or add a new one?

Regards
Pete



-------- Forwarded Message --------
Subject: 	chez-scheme compilation issue
Date: 	Sun, 16 Apr 2023 17:43:38 -0700
From: 	ppadilcdx at gmail.com
To: 	macports-users at lists.macports.org



I get an error when compiling chez-scheme (see below) should I submit a 
ticket?

---

/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
---

Regards





More information about the macports-users mailing list