projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
28126af
)
[KMTESTS:RTL]
author
Thomas Faber
<thomas.faber@reactos.org>
Sun, 13 Nov 2016 12:19:05 +0000
(12:19 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sun, 13 Nov 2016 12:19:05 +0000
(12:19 +0000)
- Silence a GCC5+ warning
CORE-11794
svn path=/trunk/; revision=73224
rostests/kmtests/rtl/RtlMemory.c
patch
|
blob
|
history
diff --git
a/rostests/kmtests/rtl/RtlMemory.c
b/rostests/kmtests/rtl/RtlMemory.c
index
b16e5b7
..
644180b
100644
(file)
--- a/
rostests/kmtests/rtl/RtlMemory.c
+++ b/
rostests/kmtests/rtl/RtlMemory.c
@@
-426,7
+426,14
@@
START_TEST(RtlMemory)
KeLowerIrql(Irql);
Status = STATUS_SUCCESS;
_SEH2_TRY {
+#if defined(__GNUC__) && __GNUC__ >= 5
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wmemset-transposed-args"
+#endif
RtlFillMemory(NULL, 0, 0x55);
+#if defined(__GNUC__) && __GNUC__ >= 5
+#pragma GCC diagnostic pop
+#endif
} _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) {
Status = _SEH2_GetExceptionCode();
} _SEH2_END;