Skip to content
Snippets Groups Projects
Commit fc23dc14 authored by Clark Coleman's avatar Clark Coleman
Browse files

Changes for Ubuntu 20 compilation of IDA Pro 7.6 service pack 1.

parent d22011b0
Branches
No related tags found
No related merge requests found
Pipeline #12759 failed
#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;
......
......@@ -25,6 +25,7 @@
#pragma GCC diagnostic pop
#pragma GCC diagnostic pop
#pragma GCC diagnostic pop
#pragma GCC diagnostic pop
#include <assert.h>
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment