From b1d8a453395b8a31a37b371e4d807f7b755d8fd3 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 29 Jun 2022 21:13:00 -0400 Subject: [PATCH] Just disable the diagnostic. --- .../Implementation/68000Mk2Implementation.hpp | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp b/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp index f2f7c02f0..41ab1b05d 100644 --- a/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp +++ b/Processors/68000Mk2/Implementation/68000Mk2Implementation.hpp @@ -200,6 +200,11 @@ template Microcycle::OperationT data_select(const Instru // MARK: - The state machine. +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-label" +#endif + template void Processor::run_for(HalfCycles duration) { // Accumulate the newly paid-in cycles. If this instance remains in deficit, exit. @@ -223,14 +228,8 @@ void Processor