Opened 6 weeks ago
Last modified 4 weeks ago
#74481 assigned defect
guile-3.0 @3.0.10_1: Fails to compile on macOS 27 with C23 compiler semantics
| Reported by: | hnarayanan (Harish Narayanan) | Owned by: | graywolf (W.) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.12.6 |
| Keywords: | Cc: | ||
| Port: | guile-3.0 |
Description
When attempting to build guile, I see errors like the following which seem to pertain to incompatible function pointer types that get reported as taking 0 arguments.
:info:build control.c:152:23: error: incompatible function pointer types passing 'SCM (SCM)' (aka 'struct scm_unused_struct *(struct scm_unused_struct *)') to parameter of type 'scm_t_subr' (aka 'struct scm_unused_struct *(*)(void)') [-Wincompatible-function-pointer-types] :info:build 152 | scm_suspendable_continuation_p); :info:build | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build ./gsubr.h:72:43: note: passing argument to parameter 'fcn' here :info:build 72 | int req, int opt, int rst, scm_t_subr fcn); :info:build | ^ :info:build array-map.c:200:45: error: too many arguments to function call, expected 0, have 2 :info:build 200 | if (! (SCM_UNBNDP (data) ? cproc (va0, lva) : cproc (va0, data, lva))) :info:build | ~~~~~ ^~~~~~~~ :info:build array-map.c:200:64: error: too many arguments to function call, expected 0, have 3 :info:build 200 | if (! (SCM_UNBNDP (data) ? cproc (va0, lva) : cproc (va0, data, lva))) :info:build | ~~~~~ ^~~~~~~~~~~~~~ :info:build 1 error generated.
I believe this might have something to do with more modern C compiler semantics and that upstream guile 3.0.11 has corrected these.
Attachments (1)
Change History (3)
Changed 6 weeks ago by hnarayanan (Harish Narayanan)
| Attachment: | guile-main.log added |
|---|
comment:1 Changed 6 weeks ago by jmroot (Joshua Root)
| Owner: | set to graywolf |
|---|---|
| Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.

Build and error log