mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 16:29:03 +00:00
relationals: fix -Wformat warnings (#2218)
Avoid a ``` ‘%zu’ directive writing between 1 and 20 bytes into a region of size 16 ``` warning by using `std::string` for `generate_shuffle_mask`. As this fixes the last remaining Wformat warning in the relationals suite, drop the local `-Wno-format` compiler option. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
bc5b0215ee
commit
a2d6cadec1
@@ -7,7 +7,5 @@ set(${MODULE_NAME}_SOURCES
|
||||
test_shuffles.cpp
|
||||
)
|
||||
|
||||
set_gnulike_module_compile_flags("-Wno-format")
|
||||
|
||||
include(../CMakeCommon.txt)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user