X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=rostests%2Fkmtests%2Frtl%2FRtlMemory.c;h=644180b026ba012b7cade77b436011a1a3eef75e;hp=b16e5b7156f52f4daf87c1e476f064bea0dfe907;hb=ce14a59aa5d11d9218345b1f4f84d69c85b0d0ae;hpb=28126afb8eab87e20145f29730cfb2887bc3f042 diff --git a/rostests/kmtests/rtl/RtlMemory.c b/rostests/kmtests/rtl/RtlMemory.c index b16e5b7156f..644180b026b 100644 --- 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;