Opened 12 months ago
Last modified 12 months ago
#72041 new defect
zsv fails to build with gcc14: error: implicit declaration of function 'drem' [-Wimplicit-function-declaration]
| Reported by: | barracuda156 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.10.5 |
| Keywords: | Cc: | herbygillot (Herby Gillot) | |
| Port: | zsv |
Description
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_zsv/zsv/work/zsv-0.3.8-alpha/build/Darwin/rel/gcc-mp-14/external/jq-src'
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_zsv/zsv/work/zsv-0.3.8-alpha/build/Darwin/rel/gcc-mp-14/external/jq-src'
CC src/builtin.lo
src/builtin.c:2:9: warning: "_GNU_SOURCE" redefined
2 | #define _GNU_SOURCE
| ^~~~~~~~~~~
<command-line>: note: this is the location of the previous definition
src/libm.h: In function 'f_drem':
src/libm.h:163:10: error: implicit declaration of function 'drem' [-Wimplicit-function-declaration]
163 | LIBM_DDD(drem)
| ^~~~
src/builtin.c:125:22: note: in definition of macro 'LIBM_DDD'
125 | jv ret = jv_number(name(jv_number_value(a), jv_number_value(b))); \
| ^~~~
src/libm.h:163:10: warning: incompatible implicit declaration of built-in function 'drem' [-Wbuiltin-declaration-mismatch]
163 | LIBM_DDD(drem)
| ^~~~
Change History (1)
comment:1 Changed 12 months ago by barracuda156
| Summary: | zsv fails to build: error: implicit declaration of function 'drem' [-Wimplicit-function-declaration] → zsv fails to build with gcc14: error: implicit declaration of function 'drem' [-Wimplicit-function-declaration] |
|---|
Note: See
TracTickets for help on using
tickets.

Upd. Looks like it has built on the same system earlier, with a less strict gcc13.