File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 "release_cxx_flags": "-O3 ",
1616 "debug_cxx_flags": "-g",
1717 "definitions": "-DRAM_DOMAIN_SIZE=64 -DUSE_NCURSES -DUSE_LIBZ -DUSE_SQLITE",
18- "compile_options": "-Wno-volatile ",
18+ "compile_options": "",
1919 "link_options": "-pthread -ldl -lstdc++fs /usr/lib/x86_64-linux-gnu/libsqlite3.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libncurses.so",
2020 "rpaths": "/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu",
2121 "outname_fmt": "-o {}",
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ function(SOUFFLE_RUN_CPP_TEST)
3636 endif ()
3737
3838 if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
39+ list (APPEND ADDITTIONNAL_FLAGS "-Wno-volatile" )
3940 if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9)
4041 list (APPEND ADDITIONNAL_FLAGS "-lstdc++fs" )
4142 endif ()
@@ -61,7 +62,6 @@ function(SOUFFLE_RUN_CPP_TEST)
6162 ${CMAKE_CXX20_STANDARD_COMPILE_OPTION}
6263 ${OUT_OPTION}
6364 -D__EMBEDDED_SOUFFLE__
64- -Wno-volatile
6565 "-I${CMAKE_SOURCE_DIR } /src/include"
6666 "${TEST_NAME} .cpp"
6767 "${PARAM_INPUT_DIR} /driver.cpp"
You can’t perform that action at this time.
0 commit comments