Skip to content

Conversation

SwintonStreet
Copy link
Contributor

@SwintonStreet SwintonStreet commented May 18, 2025

WIP - look at moving the JSONCPP_HAS_STRING_VIEW to configure time from compile time. This is so that there cannot be a mismatch between the compiled library objects and the headers.

Another option is to move the definition to the header so this is always correct.

Only cmake builds are covered at the moment

Detected with clang-tidy.
This ensures that cmake between the compiled objects and the headers
match. Previously, if they didn't match you could get linker issues.
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

Successfully merging this pull request may close these issues.

1 participant