From: Alexander Turenko <alexander.turenko@tarantool.org> To: Kirill Yukhin <kyukhin@tarantool.org> Cc: Alexander Turenko <alexander.turenko@tarantool.org>, tarantool-patches@freelists.org Subject: [tarantool-patches] [PATCH] Suppress -Warray-bounds warning on unit/guard.cc Date: Tue, 14 May 2019 23:57:30 +0300 [thread overview] Message-ID: <7850a6f2591b178284295d2c9a3418cdf544fa0d.1557867303.git.alexander.turenko@tarantool.org> (raw) This warning breaks -Werror -O2 build on GCC 9.1. --- no issue https://github.com/tarantool/tarantool/tree/Totktonada/fix-gcc-9-warnings test/unit/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt index 07dcd6cf2..2f670033c 100644 --- a/test/unit/CMakeLists.txt +++ b/test/unit/CMakeLists.txt @@ -77,6 +77,9 @@ if (NOT ENABLE_GCOV) # This test is known to be broken with GCOV add_executable(guard.test guard.cc) target_link_libraries(guard.test core unit) + set_source_files_properties( + guard.cc + PROPERTIES COMPILE_FLAGS -Wno-array-bounds) endif () add_executable(fiber_stress.test fiber_stress.cc) -- 2.21.0
next reply other threads:[~2019-05-14 20:58 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-05-14 20:57 Alexander Turenko [this message] 2019-05-15 2:31 ` [tarantool-patches] " Konstantin Osipov 2019-05-16 17:25 ` [tarantool-patches] " Alexander Turenko 2019-05-29 15:06 ` Kirill Yukhin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=7850a6f2591b178284295d2c9a3418cdf544fa0d.1557867303.git.alexander.turenko@tarantool.org \ --to=alexander.turenko@tarantool.org \ --cc=kyukhin@tarantool.org \ --cc=tarantool-patches@freelists.org \ --subject='Re: [tarantool-patches] [PATCH] Suppress -Warray-bounds warning on unit/guard.cc' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox