diff --git a/include/interfaces/idapro/STARSFunction.h b/include/interfaces/idapro/STARSFunction.h
index b3a54465da10ad73aac9dc14b2a3453934e842c2..fd5824c0ab1551ad0cb6720fae458ebc0a7cb376 100644
--- a/include/interfaces/idapro/STARSFunction.h
+++ b/include/interfaces/idapro/STARSFunction.h
@@ -1,10 +1,14 @@
 #ifndef STARS_IDA_Function_h
 #define STARS_IDA_Function_h
 
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
+
 #include <pro.h>
 #include <funcs.hpp>
 #include <frame.hpp>
 
+#pragma GCC diagnostic pop
+
 #include "interfaces/STARSTypes.h"
 
 class SMPFunction;
diff --git a/include/interfaces/idapro/all.h b/include/interfaces/idapro/all.h
index c1e0e87dfbad9d0f3377b3a4ef8e278fd70c2aa4..f8b3134adfbfb92d20e0aad00975aef5a35c0e41 100644
--- a/include/interfaces/idapro/all.h
+++ b/include/interfaces/idapro/all.h
@@ -25,6 +25,7 @@
 #pragma GCC diagnostic pop
 #pragma GCC diagnostic pop
 #pragma GCC diagnostic pop
+#pragma GCC diagnostic pop
 
 #include <assert.h>
 
diff --git a/src/interfaces/idapro/STARSIDAInstruction.cpp b/src/interfaces/idapro/STARSIDAInstruction.cpp
index 6413893d1e59804953eca41095f22f19b82b182f..ed9053e693e252249decac6d480f67903379358e 100644
--- a/src/interfaces/idapro/STARSIDAInstruction.cpp
+++ b/src/interfaces/idapro/STARSIDAInstruction.cpp
@@ -61,7 +61,10 @@ void STARS_IDA_Instruction_t::InitOperand(op_t &InitOp) const {
 	InitOp.specflag3 = 0;
 	InitOp.specflag4 = 0;
 #else
+#pragma GCC diagnostic ignored "-Wclass-memaccess"
 	(void) memset(&InitOp, 0, sizeof(op_t));
+#pragma GCC diagnostic pop
+	
 #if (IDA_SDK_VERSION < 700)
 	InitOp.dtyp = global_STARS_program->GetSTARS_ISA_dtyp();
 #else