Skip to content

Commit b4c390e

Browse files
committed
mingw: disallow compile warnings during the build
More than once, in this developer's past ignoring a compile warning resulted in multiple days of bug hunting, just to find out that the warning actually pointed to a serious problem like, say, an erroneous 64-bit -> 32-bit case (losing crucial information). So let's just not ignore those warnings but make them fatal instead. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent b72e177 commit b4c390e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configs/mingw32_defconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ CONFIG_DEBUG=y
7676
# CONFIG_DEBUG_PESSIMIZE is not set
7777
# CONFIG_DEBUG_SANITIZE is not set
7878
# CONFIG_UNIT_TEST is not set
79-
# CONFIG_WERROR is not set
79+
CONFIG_WERROR=y
8080
CONFIG_NO_DEBUG_LIB=y
8181
# CONFIG_DMALLOC is not set
8282
# CONFIG_EFENCE is not set

configs/mingw64_defconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ CONFIG_DEBUG=y
7676
# CONFIG_DEBUG_PESSIMIZE is not set
7777
# CONFIG_DEBUG_SANITIZE is not set
7878
# CONFIG_UNIT_TEST is not set
79-
# CONFIG_WERROR is not set
79+
CONFIG_WERROR=y
8080
CONFIG_NO_DEBUG_LIB=y
8181
# CONFIG_DMALLOC is not set
8282
# CONFIG_EFENCE is not set

0 commit comments

Comments
 (0)