#ifndef __ARCH_ARM_FASTMODEL_GIC_GIC_HH__
#define __ARCH_ARM_FASTMODEL_GIC_GIC_HH__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Woverloaded-virtual"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Woverloaded-virtual"
#include <amba_pv.h>
-#pragma clang diagnostic pop
+#pragma GCC diagnostic pop
#include <memory>
#ifndef __ARCH_ARM_FASTMODEL_AMBA_FROM_TLM_BRIDGE_HH__
#define __ARCH_ARM_FASTMODEL_AMBA_FROM_TLM_BRIDGE_HH__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Woverloaded-virtual"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Woverloaded-virtual"
#include "amba_pv.h"
-#pragma clang diagnostic pop
+#pragma GCC diagnostic pop
#include "arch/arm/fastmodel/amba_ports.hh"
#include "systemc/tlm_port_wrapper.hh"
#ifndef __ARCH_ARM_FASTMODEL_AMBA_PORTS_HH__
#define __ARCH_ARM_FASTMODEL_AMBA_PORTS_HH__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Woverloaded-virtual"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Woverloaded-virtual"
#include <amba_pv.h>
-#pragma clang diagnostic pop
+#pragma GCC diagnostic pop
#include "systemc/tlm_port_wrapper.hh"
#ifndef __ARCH_ARM_FASTMODEL_AMBA_TO_TLM_BRIDGE_HH__
#define __ARCH_ARM_FASTMODEL_AMBA_TO_TLM_BRIDGE_HH__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Woverloaded-virtual"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Woverloaded-virtual"
#include "amba_pv.h"
-#pragma clang diagnostic pop
+#pragma GCC diagnostic pop
#include "arch/arm/fastmodel/amba_ports.hh"
#include "systemc/tlm_port_wrapper.hh"
#ifndef __ARCH_ARM_FASTMODEL_COMMON_SIGNAL_RECEIVER_HH__
#define __ARCH_ARM_FASTMODEL_COMMON_SIGNAL_RECEIVER_HH__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Woverloaded-virtual"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Woverloaded-virtual"
#include <amba_pv.h>
-#pragma clang diagnostic pop
+#pragma GCC diagnostic pop
#include <functional>