[APITESTS] Ignore GCC8 warnings where we test some crazy stuff

This commit is contained in:
Victor Perevertkin 2019-08-17 23:05:45 +03:00
parent 6b10706205
commit 1c0a2a35e7
4 changed files with 19 additions and 2 deletions

View file

@ -6,6 +6,11 @@
* Copyright 2019 Mark Jansen (mark.jansen@reactos.org)
*/
#if defined(__GNUC__) && __GNUC__ >= 7
// this is an intended behaviour
#pragma GCC diagnostic ignored "-Wclass-memaccess"
#endif
#ifdef HAVE_APITEST
#include <apitest.h>
#else