sc_core::sc_port_policy POL>
class tlm_base_target_socket;
+// The overloaded virtual is intended in SystemC, so we'll disable the warning.
+// Please check section 9.3 of SystemC 2.3.1 release note for more details.
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Woverloaded-virtual"
template <unsigned int BUSWIDTH=32, typename FW_IF=tlm_fw_transport_if<>,
typename BW_IF=tlm_bw_transport_if<>, int N=1,
sc_core::sc_port_policy POL=sc_core::SC_ONE_OR_MORE_BOUND>
(s.get_base_export())(get_base_export());
}
- using port_type::bind;
-
void operator() (base_type &s) { bind(s); }
//
protected:
export_type m_export;
};
+#pragma GCC diagnostic pop
//
// Convenience socket classes