Skip to content

Inclusion of <nlohmann/json.hpp> imprints header path to binary, destroying path-independent reproductive builds #4494

Answered by gregmarr
usvi asked this question in Q&A
Discussion options

You must be logged in to vote

It's probably from asserts. Try including -DNDEBUG and -O2.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@usvi
Comment options

@nlohmann
Comment options

@usvi
Comment options

Comment options

You must be logged in to vote
3 replies
@gregmarr
Comment options

Answer selected by usvi
@usvi
Comment options

@gregmarr
Comment options

Comment options

You must be logged in to vote
1 reply
@usvi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
solution: proposed fix a fix for the issue has been proposed and waits for confirmation
3 participants