Skip to content

Commit 0fe80e7

Browse files
committed
Disable optional compiler errors
`-Wall -Werror` is fragile for released software, because any new version of the compiler can introduce new warnings, in which case the project will fail to build. These options should only be used by the project's developers.
1 parent 05d8f53 commit 0fe80e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

GNUmakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ ifeq ($(BUILD),yes)
8383
endif
8484

8585
PYTHON = python3
86-
C_FLAGS_OPT = -Wall -Wextra -Werror
87-
CXX_FLAGS_OPT = -Wall -Wextra -Werror
86+
C_FLAGS_OPT =
87+
CXX_FLAGS_OPT =
8888
export C_FLAGS_OPT
8989
export CXX_FLAGS_OPT
9090

0 commit comments

Comments
 (0)