Compiler warning with Intel compiler, same as #755 #2712
Labels
kind: bug
release item: 🔨 further change
solution: proposed fix
a fix for the issue has been proposed and waits for confirmation
Milestone
Using the intel compiler reports the following warning:
I tried the solutions posted in #755 and others (e.g. this one) but I couldn't get it to work.
I also tried with
std::signed
&std::unsigned
but no success either@nlohmann you could add the Intel compiler to the CI with the oneAPI
Looking at your github actions script this should be doable without too much effort. I'd be happy to help :)
You could install the compiler in what I assume is a docker image (
nlohmann/json-ci:latest
)What is the issue you have?
cannot turn all warnings into errors
Please describe the steps to reproduce the issue.
Compile with ICC with e.g.
Werror-all
Can you provide a small but working code example?
What is the expected behavior?
Compiles without warnings
And what is the actual behavior instead?
Warning is issued
Which compiler and operating system are you using?
Which version of the library did you use?
develop
branchIf you experience a compilation error: can you compile and run the unit tests?
The text was updated successfully, but these errors were encountered: