Author: tfaber
Date: Sun Nov 13 12:19:05 2016
New Revision: 73224
URL:
http://svn.reactos.org/svn/reactos?rev=73224&view=rev
Log:
[KMTESTS:RTL]
- Silence a GCC5+ warning
CORE-11794
Modified:
trunk/rostests/kmtests/rtl/RtlMemory.c
Modified: trunk/rostests/kmtests/rtl/RtlMemory.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/kmtests/rtl/RtlMemory.c?r…
==============================================================================
--- trunk/rostests/kmtests/rtl/RtlMemory.c [iso-8859-1] (original)
+++ trunk/rostests/kmtests/rtl/RtlMemory.c [iso-8859-1] Sun Nov 13 12:19:05 2016
@@ -426,7 +426,14 @@
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;