Skip to content
Snippets Groups Projects
Commit 0a39c68a authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

Updates for ubuntu20's compiler

parent 434f4a49
No related branches found
No related tags found
No related merge requests found
......@@ -78,9 +78,8 @@ class STARS_IDA_Instruction_t : public STARS_Instruction_t
public:
// Constructors and destructors
STARS_IDA_Instruction_t(const STARS_InstructionID_t& p_id) : STARS_Instruction_t(p_id), ImplicitDEFs(false) {
STARS_IDA_Instruction_t(const STARS_InstructionID_t& p_id) : STARSCmd({}), STARS_Instruction_t(p_id), ImplicitDEFs(false) {
if (STARS_IsSSAMarkerPseudoID(p_id.GetIDWithinFile())) { // SSA marker pseudo-inst
(void) memset(&(STARScmd), 0, sizeof(STARScmd));
STARScmd.itype = NN_fnop;
STARScmd.size = 1;
}
......
......@@ -5,6 +5,7 @@
// eventually move these into idapro/all.h
#pragma GCC diagnostic ignored "-Wparentheses"
#pragma GCC diagnostic ignored "-Wsign-compare"
#pragma GCC diagnostic ignored "-Wclass-memaccess"
#include <fpro.h>
#include <pro.h>
#include <ida.hpp>
......@@ -17,6 +18,7 @@
#include <segment.hpp>
#pragma GCC diagnostic pop
#pragma GCC diagnostic pop
#pragma GCC diagnostic pop
#include <assert.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment