mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
The `-Wno-...` compiler flags only result in a diagnostic if another diagnostic is emitted. When passing such flags to `add_cxx_flag_if_supported` (and `check_cxx_compiler_flag`), the test would always succeed. For such cases, test the `-W...` flag instead of the `-Wno-...` flag. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
7.3 KiB
7.3 KiB