summaryrefslogtreecommitdiff
path: root/tools/ci/flags
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2020-05-30 11:13:14 +0300
committerAndrei Karas <akaras@inbox.ru>2020-05-30 11:34:24 +0300
commit817c891cf17be64bdfef2fd03ae597727951478e (patch)
treed84ed31185ead3cd27153c0c0f1b424226c6a83d /tools/ci/flags
parent2e396ffdc3c79f9f959fb4a4ea466be352f67354 (diff)
downloadplus-817c891cf17be64bdfef2fd03ae597727951478e.tar.gz
plus-817c891cf17be64bdfef2fd03ae597727951478e.tar.bz2
plus-817c891cf17be64bdfef2fd03ae597727951478e.tar.xz
plus-817c891cf17be64bdfef2fd03ae597727951478e.zip
Disable warning -Wenum-conversion in gcc snapshot and fedora ci builds
Diffstat (limited to 'tools/ci/flags')
-rwxr-xr-xtools/ci/flags/gccfedora.sh3
-rwxr-xr-xtools/ci/flags/gccsnapshot.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/ci/flags/gccfedora.sh b/tools/ci/flags/gccfedora.sh
index dd6d47e65..056e18c04 100755
--- a/tools/ci/flags/gccfedora.sh
+++ b/tools/ci/flags/gccfedora.sh
@@ -107,7 +107,8 @@ export CXXFLAGS="${CXXFLAGS} -Wduplicated-cond"
export CXXFLAGS="${CXXFLAGS} -Wempty-body"
export CXXFLAGS="${CXXFLAGS} -Wendif-labels"
export CXXFLAGS="${CXXFLAGS} -Wenum-compare"
-export CXXFLAGS="${CXXFLAGS} -Wenum-conversion"
+# not for C++
+#export CXXFLAGS="${CXXFLAGS} -Wenum-conversion"
# not for C++
#export CXXFLAGS="${CXXFLAGS} -Werror-implicit-function-declaration"
export CXXFLAGS="${CXXFLAGS} -Wexpansion-to-defined"
diff --git a/tools/ci/flags/gccsnapshot.sh b/tools/ci/flags/gccsnapshot.sh
index dd6d47e65..056e18c04 100755
--- a/tools/ci/flags/gccsnapshot.sh
+++ b/tools/ci/flags/gccsnapshot.sh
@@ -107,7 +107,8 @@ export CXXFLAGS="${CXXFLAGS} -Wduplicated-cond"
export CXXFLAGS="${CXXFLAGS} -Wempty-body"
export CXXFLAGS="${CXXFLAGS} -Wendif-labels"
export CXXFLAGS="${CXXFLAGS} -Wenum-compare"
-export CXXFLAGS="${CXXFLAGS} -Wenum-conversion"
+# not for C++
+#export CXXFLAGS="${CXXFLAGS} -Wenum-conversion"
# not for C++
#export CXXFLAGS="${CXXFLAGS} -Werror-implicit-function-declaration"
export CXXFLAGS="${CXXFLAGS} -Wexpansion-to-defined"