Added compiler flags to improve code quality

This commit is contained in:
2025-09-17 10:25:50 +02:00
parent 9a32532c22
commit 0478854007

View File

@@ -26,6 +26,7 @@ TEMPLATES += db/sinqMotor.db
# This file registers the motor-specific functions in the IOC shell. # This file registers the motor-specific functions in the IOC shell.
DBDS += src/sinqMotor.dbd DBDS += src/sinqMotor.dbd
USR_CFLAGS += -Wall -Wextra -Weffc++ -Wunused-result # -Werror USR_CFLAGS += -Wall -Wextra -Wunused-result # -Werror
USR_CXXFLAGS += -Wall -Wextra -Weffc++ -Wunused-result
# MISCS would be the place to keep the stream device template files # MISCS would be the place to keep the stream device template files