Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cjdns: does not compile with gcc 14 #1083

Open
dph5199278 opened this issue Oct 28, 2024 · 0 comments
Open

cjdns: does not compile with gcc 14 #1083

dph5199278 opened this issue Oct 28, 2024 · 0 comments

Comments

@dph5199278
Copy link

Maintainer: @wfleurant
Environment:
arch: x86_64
OpenWrt version: main

Description:
Error Output:

cc1: note: someone does not honour COPTS correctly, passed 15 times
exception/Er.c: In function 'Er__raise':
exception/Er.c:46:64: error: 'Allocator__calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
   46 |         struct Er_Ret* res = Allocator_calloc(alloc, sizeof(struct Er_Ret), 1);
      |                                                                ^~~~~~
exception/Er.c:46:64: note: earlier argument should specify number of elements, later size of each element
cc1: all warnings being treated as errors

    at error (/opt/openwrt/build_dir/target-x86_64_musl/cjdns-cjdns-v21.1/node_build/builder.js:104:15)
    at /opt/openwrt/build_dir/target-x86_64_musl/cjdns-cjdns-v21.1/node_build/builder.js:185:29
    at /opt/openwrt/build_dir/target-x86_64_musl/cjdns-cjdns-v21.1/node_build/builder.js:150:17
    at ChildProcess.<anonymous> (/opt/openwrt/build_dir/target-x86_64_musl/cjdns-cjdns-v21.1/node_modules/saferphore/index.js:22:34)
    at ChildProcess.emit (node:events:517:28)
    at maybeClose (node:internal/child_process:1098:16)
    at Socket.<anonymous> (node:internal/child_process:450:11)
    at Socket.emit (node:events:517:28)
    at Pipe.<anonymous> (node:net:351:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant