I recently came across an issue where cppcheck is reporting a syntax error in an included header from the nlohmann JSON library. This ends up stopping analysis of any source file that includes it. nlohmann/include/nlohmann/json_fwd.hpp:49:54: error: syntax error [syntaxError] class BinaryType = std::vector<std::uint8_t>, // cppcheck-suppress syntaxError ^ That line can be found here: https://github.com/nlohmann/json/blob/960b763ecd144f156d05ec61f577b04107290137/include/nlohmann/json_fwd.hpp#L49 It...
I recently came across an issue where cppcheck is reporting a syntax error in an included header from the nlohmann JSON library. This ends up stopping analysis of any source file that includes it. nlohmann/include/nlohmann/json_fwd.hpp:49:54: error: syntax error [syntaxError] class BinaryType = std::vector<std::uint8_t>, // cppcheck-suppress syntaxError ^ That line can be found here: https://github.com/nlohmann/json/blob/960b763ecd144f156d05ec61f577b04107290137/include/nlohmann/json_fwd.hpp#L49 It...
I recently came across an issue where cppcheck is reporting a syntax error in an included header from the nlohmann JSON library. This ends up stopping analysis of any source file that includes it. nlohmann/include/nlohmann/json_fwd.hpp:49:54: error: syntax error [syntaxError] class BinaryType = std::vector<std::uint8_t>, // cppcheck-suppress syntaxError ^ That line can be found here: https://github.com/nlohmann/json/blob/960b763ecd144f156d05ec61f577b04107290137/include/nlohmann/json_fwd.hpp#L49 It...