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:
Sven van Haastregt
2025-01-14 18:08:32 +01:00
committed by GitHub
parent bc5b0215ee
commit a2d6cadec1
2 changed files with 36 additions and 27 deletions

View File

@@ -7,7 +7,5 @@ set(${MODULE_NAME}_SOURCES
test_shuffles.cpp
)
set_gnulike_module_compile_flags("-Wno-format")
include(../CMakeCommon.txt)