secure-software-engineering / phasar

A LLVM-based static analysis framework.
Other
920 stars 140 forks source link

Disables warnings in nlohmann_json #598

Closed vulder closed 1 year ago

vulder commented 1 year ago

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.