summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-28 01:19:05 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-28 01:19:05 +0300
commite54bf8d51445d5e5f39e72c34235e4df49a7964e (patch)
tree41707e0e20c709f7019d79d6c096207f6f7c0d52
parent29fdf03b7942c9ceb28d3705494ce37e79d48808 (diff)
downloadmv-e54bf8d51445d5e5f39e72c34235e4df49a7964e.tar.gz
mv-e54bf8d51445d5e5f39e72c34235e4df49a7964e.tar.bz2
mv-e54bf8d51445d5e5f39e72c34235e4df49a7964e.tar.xz
mv-e54bf8d51445d5e5f39e72c34235e4df49a7964e.zip
Disable warning deprecated-copy in gcc-snapshot builds [ci skip].
-rwxr-xr-xtools/ci/jobs/gccsnapshot.sh3
-rwxr-xr-xtools/ci/jobs/gccsnapshot_sanitize_tests.sh3
-rwxr-xr-xtools/ci/jobs/gccsnapshot_sdl2.sh3
-rwxr-xr-xtools/ci/jobs/gccsnapshot_tests.sh3
4 files changed, 8 insertions, 4 deletions
diff --git a/tools/ci/jobs/gccsnapshot.sh b/tools/ci/jobs/gccsnapshot.sh
index 00e7a9944..056c236bd 100755
--- a/tools/ci/jobs/gccsnapshot.sh
+++ b/tools/ci/jobs/gccsnapshot.sh
@@ -22,7 +22,8 @@ source ./tools/ci/scripts/init.sh
export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
-std=gnu++1z -Wformat=1 \
--Wno-attributes -fno-omit-frame-pointer"
+-Wno-attributes -fno-omit-frame-pointer \
+-Wno-deprecated-copy"
source ./tools/ci/flags/${FLAGS}
diff --git a/tools/ci/jobs/gccsnapshot_sanitize_tests.sh b/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
index 9fec80b7c..25e94b9a2 100755
--- a/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
+++ b/tools/ci/jobs/gccsnapshot_sanitize_tests.sh
@@ -35,7 +35,8 @@ export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -Wstrict-aliasing=2 \
-fsanitize=pointer-overflow -fsanitize=builtin \
-fsanitize-address-use-after-scope \
-std=gnu++1z -Wformat=1 \
--Wno-attributes"
+-Wno-attributes \
+-Wno-deprecated-copy"
#source ./tools/ci/flags/${FLAGS}
diff --git a/tools/ci/jobs/gccsnapshot_sdl2.sh b/tools/ci/jobs/gccsnapshot_sdl2.sh
index 82ad35c5b..a3b75867f 100755
--- a/tools/ci/jobs/gccsnapshot_sdl2.sh
+++ b/tools/ci/jobs/gccsnapshot_sdl2.sh
@@ -22,7 +22,8 @@ source ./tools/ci/scripts/init.sh
export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
-std=gnu++1z -Wformat=1 \
--Wno-attributes -fno-omit-frame-pointer"
+-Wno-attributes -fno-omit-frame-pointer \
+-Wno-deprecated-copy"
source ./tools/ci/flags/${FLAGS}
diff --git a/tools/ci/jobs/gccsnapshot_tests.sh b/tools/ci/jobs/gccsnapshot_tests.sh
index a97e65142..1efd8e401 100755
--- a/tools/ci/jobs/gccsnapshot_tests.sh
+++ b/tools/ci/jobs/gccsnapshot_tests.sh
@@ -22,7 +22,8 @@ source ./tools/ci/scripts/init.sh
export CXXFLAGS="$CXXFLAGS -pedantic -ggdb3 -O2 -pipe -Wstrict-aliasing=2 \
-Wstrict-overflow=1 -Wformat=1 -D_FORTIFY_SOURCE=2 \
-std=gnu++1z -Wformat=1 \
--Wno-attributes"
+-Wno-attributes \
+-Wno-deprecated-copy"
source ./tools/ci/flags/${FLAGS}