Skip to content

Commit f4db221

Browse files
[libc++][test] Use ADDITIONAL_COMPILE_FLAGS(gcc-style-warnings) for -Wno-psabi (#113608)
MSVC doesn't understand `-Wno-psabi`, which was introduced here by @ldionne in #106077. Using `ADDITIONAL_COMPILE_FLAGS(gcc-style-warnings)` (implemented by #75317) avoids passing this to MSVC.
1 parent 144ddca commit f4db221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/test/std/atomics/atomics.lockfree/is_always_lock_free.pass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// Ignore diagnostic about vector types changing the ABI on some targets, since
2020
// that is irrelevant for this test.
21-
// ADDITIONAL_COMPILE_FLAGS: -Wno-psabi
21+
// ADDITIONAL_COMPILE_FLAGS(gcc-style-warnings): -Wno-psabi
2222

2323
#include <atomic>
2424
#include <cassert>

0 commit comments

Comments
 (0)