Added compiler flags to improve code quality
This commit is contained in:
3
Makefile
3
Makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user