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

json2cbor.c fails to build on macOS 10.15 #675

Closed
jrmuizel opened this issue Sep 22, 2022 · 2 comments
Closed

json2cbor.c fails to build on macOS 10.15 #675

jrmuizel opened this issue Sep 22, 2022 · 2 comments

Comments

@jrmuizel
Copy link

jrmuizel commented Sep 22, 2022

  tools/json2cbor/json2cbor.c:201:9: error: implicit declaration of function 'asprintf' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      if (asprintf(&metadatakey, "%s%s", item->string, meta_data_marker) < 0 || metadatakey == NULL)
@fw-immunant
Copy link
Contributor

This looks like a duplicate of #353, which has been fixed (but not in a released version, it seems). Can you try building from git (or one of the other workarounds mentioned in discussion on #353)?

@kkysen kkysen changed the title json2cbor.c fails to build on macOS 10.15 json2cbor.c fails to build on macOS 10.15 Sep 22, 2022
@jrmuizel
Copy link
Author

Building from git seems to help but I run into #676

@kkysen kkysen closed this as completed Sep 22, 2022
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

3 participants