Commit 1484a29
authored
Disables warnings in nlohmann_json (#598)
Warnings, such as, warning: default label in switch which covers all
enumeration values, from nlohmann_json spam during compilation, especially for LLVM builds. A default label for a switch is unreachable should all cases covered. LLVM prefers to warn in cases where not all cases are covered.
As we cannot change the code in the json lib, we should at least disable
the flood of warnings.1 parent 96d8cb1 commit 1484a29
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments