diff --git a/core/clingutils/res/TClingUtils.h b/core/clingutils/res/TClingUtils.h
index c7e3e555122a5535418d56a3c2a126d1a19aaffd..e903756c610e701cee305e77580548549fcd445b 100644
--- a/core/clingutils/res/TClingUtils.h
+++ b/core/clingutils/res/TClingUtils.h
@@ -22,8 +22,13 @@
 //#include <atomic>
 #include <stdlib.h>
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
+
 #include "clang/Basic/Module.h"
 
+#pragma GCC diagnostic pop
+
 namespace llvm {
    class StringRef;
 }