From 1ee483f8e94cc327d94444cd4fd27d9a543795d0 Mon Sep 17 00:00:00 2001 From: smathis Date: Fri, 22 Aug 2025 15:27:28 +0200 Subject: [PATCH] Removed C++ only flag from USR_CFLAGS USR_CFLAGS only applies to .c files, which are compiled with a C compiler, therefore the C++ flag is not applied, resulting in a warning during compilation. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 18699cb..fff243e 100644 --- a/Makefile +++ b/Makefile @@ -34,4 +34,4 @@ TEMPLATES += db/turboPmac.db DBDS += sinqMotor/src/sinqMotor.dbd DBDS += src/turboPmac.dbd -USR_CFLAGS += -Wall -Wextra -Weffc++ -Wunused-result -Werror -fvisibility=hidden # -Wpedantic // Does not work because EPICS macros trigger warnings \ No newline at end of file +USR_CFLAGS += -Wall -Wextra -Wunused-result -Werror -fvisibility=hidden # -Wpedantic // Does not work because EPICS macros trigger warnings \ No newline at end of file