From 98a0184680a70aa4943ea2ba7dbcf8ca03bebf1f Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Tue, 18 Feb 2025 09:10:26 -0600 Subject: [PATCH] Remote -w451 flag -- not available in all versions of gcc --- bindings/Makefile.am | 2 +- src/rig.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/Makefile.am b/bindings/Makefile.am index d5bd8aca8..34272b70c 100644 --- a/bindings/Makefile.am +++ b/bindings/Makefile.am @@ -4,7 +4,7 @@ # AM_CPPFLAGS = @AM_CPPFLAGS@ -I$(top_srcdir)/include -I$(top_srcdir)/bindings \ - $(TCL_INCLUDE_SPEC) $(PYTHON_CPPFLAGS) -w451 + $(TCL_INCLUDE_SPEC) $(PYTHON_CPPFLAGS) AM_CFLAGS = @AM_CPPFLAGS@ -fno-strict-aliasing AM_CXXFLAGS = -O2 diff --git a/src/rig.c b/src/rig.c index 739a17fce..6e772fcf0 100644 --- a/src/rig.c +++ b/src/rig.c @@ -8769,7 +8769,7 @@ void *morse_data_handler(void *arg) int nloops = 10; MUTEX_LOCK(morse_mutex); // wait until the write is idle - rig_lock(rig, 1); + rig_lock(rig, 1); do { result = rig->caps->send_morse(rig, RIG_VFO_CURR, c);