mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
re-enable warnings/errors
This commit is contained in:
@@ -125,26 +125,26 @@ ARCHCXXFLAGS = -fno-exceptions -fno-rtti -std=gnu++0x -fno-threadsafe-statics
|
|||||||
|
|
||||||
# Generic warnings
|
# Generic warnings
|
||||||
#
|
#
|
||||||
# ARCHWARNINGS = -Wall \
|
ARCHWARNINGS = -Wall \
|
||||||
# -Wextra \
|
-Wextra \
|
||||||
# -Werror \
|
-Werror \
|
||||||
# -Wdouble-promotion \
|
-Wdouble-promotion \
|
||||||
# -Wshadow \
|
-Wshadow \
|
||||||
# -Wfloat-equal \
|
-Wfloat-equal \
|
||||||
# -Wframe-larger-than=1024 \
|
-Wframe-larger-than=1024 \
|
||||||
# -Wpointer-arith \
|
-Wpointer-arith \
|
||||||
# -Wlogical-op \
|
-Wlogical-op \
|
||||||
# -Wmissing-declarations \
|
-Wmissing-declarations \
|
||||||
# -Wpacked \
|
-Wpacked \
|
||||||
# -Wno-unused-parameter \
|
-Wno-unused-parameter \
|
||||||
# -Werror=format-security \
|
-Werror=format-security \
|
||||||
# -Werror=array-bounds \
|
-Werror=array-bounds \
|
||||||
# -Wfatal-errors \
|
-Wfatal-errors \
|
||||||
# -Wformat=1 \
|
-Wformat=1 \
|
||||||
# -Werror=unused-but-set-variable \
|
-Werror=unused-but-set-variable \
|
||||||
# -Werror=unused-variable \
|
-Werror=unused-variable \
|
||||||
# -Werror=double-promotion \
|
-Werror=double-promotion \
|
||||||
# -Werror=reorder
|
-Werror=reorder
|
||||||
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
|
# -Wcast-qual - generates spurious noreturn attribute warnings, try again later
|
||||||
# -Wconversion - would be nice, but too many "risky-but-safe" conversions in the code
|
# -Wconversion - would be nice, but too many "risky-but-safe" conversions in the code
|
||||||
# -Wcast-align - would help catch bad casts in some cases, but generates too many false positives
|
# -Wcast-align - would help catch bad casts in some cases, but generates too many false positives
|
||||||
|
|||||||
Reference in New Issue
Block a user