File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454
5555 - name : Prepare CMake
5656 run : |
57- cmake -S . -B cmake.output -G "Unix Makefiles" -DHAVE_RULES=On -DBUILD_TESTS=On -DBUILD_GUI=On -DUSE_QT6=On -DWITH_QCHART=On -DENABLE_CHECK_INTERNAL=On -DCMAKE_GLOBAL_AUTOGEN_TARGET=On -DCPPCHK_GLIBCXX_DEBUG=Off WARNINGS_ARE_ERRORS =On
57+ cmake -S . -B cmake.output -G "Unix Makefiles" -DHAVE_RULES=On -DBUILD_TESTS=On -DBUILD_GUI=On -DUSE_QT6=On -DWITH_QCHART=On -DENABLE_CHECK_INTERNAL=On -DCMAKE_GLOBAL_AUTOGEN_TARGET=On -DCPPCHK_GLIBCXX_DEBUG=Off -DWARNINGS_ARE_ERRORS =On
5858 env :
5959 CC : clang-19
6060 CXX : clang++-19
Original file line number Diff line number Diff line change @@ -17,5 +17,6 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
1717 target_compile_options_safe (tinyxml2_objs -Wno-format-nonliteral )
1818 target_compile_options_safe (tinyxml2_objs -Wno-old-style-cast )
1919 target_compile_options_safe (tinyxml2_objs -Wno-inconsistent-missing-destructor-override )
20+ target_compile_options_safe (tinyxml2_objs -Wno-format )
2021endif ()
2122
Original file line number Diff line number Diff line change @@ -25,13 +25,15 @@ SUPPRESS_WARNING_PUSH("-Wfloat-equal")
2525SUPPRESS_WARNING_CLANG_PUSH(" -Wtautological-type-limit-compare" )
2626SUPPRESS_WARNING_CLANG_PUSH(" -Wextra-semi-stmt" )
2727SUPPRESS_WARNING_CLANG_PUSH(" -Wzero-as-null-pointer-constant" )
28+ SUPPRESS_WARNING_CLANG_PUSH(" -Wformat" )
2829
2930#define PICOJSON_USE_INT64
3031#include < picojson.h>
3132
3233SUPPRESS_WARNING_CLANG_POP
3334SUPPRESS_WARNING_CLANG_POP
3435SUPPRESS_WARNING_CLANG_POP
36+ SUPPRESS_WARNING_CLANG_POP
3537SUPPRESS_WARNING_POP
3638
3739#endif // jsonH
You can’t perform that action at this time.
0 commit comments