[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 03/13] tests/fp/berkeley-testfloat-3: Ignore ignored #pragma d
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v4 03/13] tests/fp/berkeley-testfloat-3: Ignore ignored #pragma directives |
Date: |
Fri, 11 Feb 2022 17:34:24 +0100 |
Since we already use -Wno-unknown-pragmas, we can also use
-Wno-ignored-pragmas. This silences hundred of warnings using
clang 13 on macOS Monterey:
[409/771] Compiling C object
tests/fp/libtestfloat.a.p/berkeley-testfloat-3_source_test_az_f128_rx.c.o
../tests/fp/berkeley-testfloat-3/source/test_az_f128_rx.c:49:14: warning:
'#pragma FENV_ACCESS' is not supported on this target - ignored
[-Wignored-pragmas]
#pragma STDC FENV_ACCESS ON
^
1 warning generated.
Having:
$ cc -v
Apple clang version 13.0.0 (clang-1300.0.29.30)
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
tests/fp/meson.build | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/fp/meson.build b/tests/fp/meson.build
index 59776a00a7..5192264a08 100644
--- a/tests/fp/meson.build
+++ b/tests/fp/meson.build
@@ -30,6 +30,7 @@ tfcflags = [
'-Wno-implicit-fallthrough',
'-Wno-strict-prototypes',
'-Wno-unknown-pragmas',
+ '-Wno-ignored-pragmas',
'-Wno-uninitialized',
'-Wno-missing-prototypes',
'-Wno-return-type',
--
2.34.1
- [PATCH v4 00/13] host: Support macOS 12, Philippe Mathieu-Daudé, 2022/02/11
- [PATCH v4 01/13] lcitool: refresh, Philippe Mathieu-Daudé, 2022/02/11
- [PATCH v4 02/13] configure: Allow passing extra Objective C compiler flags, Philippe Mathieu-Daudé, 2022/02/11
- [PATCH v4 03/13] tests/fp/berkeley-testfloat-3: Ignore ignored #pragma directives,
Philippe Mathieu-Daudé <=
- [PATCH v4 05/13] hvf: Fix OOB write in RDTSCP instruction decode, Philippe Mathieu-Daudé, 2022/02/11
- [PATCH v4 04/13] hvf: Use standard CR0 and CR4 register definitions, Philippe Mathieu-Daudé, 2022/02/11
- [PATCH v4 06/13] hvf: Enable RDTSCP support, Philippe Mathieu-Daudé, 2022/02/11
- [PATCH v4 07/13] hvf: Make hvf_get_segments() / hvf_put_segments() local, Philippe Mathieu-Daudé, 2022/02/11
- [PATCH v4 09/13] block/file-posix: Remove a deprecation warning on macOS 12, Philippe Mathieu-Daudé, 2022/02/11
- [PATCH v4 08/13] hvf: Remove deprecated hv_vcpu_flush() calls, Philippe Mathieu-Daudé, 2022/02/11
- [PATCH v4 10/13] audio/coreaudio: Remove a deprecation warning on macOS 12, Philippe Mathieu-Daudé, 2022/02/11