Test suite does not compile with C++20 and Clang 17 #3979
Labels
kind: bug
solution: duplicate
the issue is a duplicate; refer to the linked issue instead
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Description
With Clang 16, the test suite could be compiled with C++20, see https://github.com/nlohmann/json/actions/runs/4364410245/jobs/7631709068
When switching to Clang 17, there is an error: https://github.com/nlohmann/json/actions/runs/4409390311/jobs/7725631191#step:7:68
Reproduction steps
Compile the test suite with Clang 17 and C++20 standard enabled.
Expected vs. actual results
Expected: Test suite compiles.
Actual: Error message:
Minimal code example
No response
Error messages
Compiler and operating system
Clang 17, Ubuntu
Library version
develop
Validation
develop
branch is used.The text was updated successfully, but these errors were encountered: