From 0e8280ce89a4150ed09fae3f03584cce8c405951 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 25 Mar 2018 16:53:19 -0400 Subject: Deprecated declarations should be error in maintainer mode Users get nervous on seeing these during compilation. --- src/build-data/cc/clang.txt | 2 +- src/build-data/cc/gcc.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/build-data') diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt index 97e2d4c2f..508551eef 100644 --- a/src/build-data/cc/clang.txt +++ b/src/build-data/cc/clang.txt @@ -5,7 +5,7 @@ binary_name clang++ lang_flags "-std=c++11 -D_REENTRANT" warning_flags "-Wall -Wextra -Wpedantic -Wshadow -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual" -maintainer_warning_flags "-Wunreachable-code -Wdocumentation -Qunused-arguments -Werror -Wno-error=unused-parameter -Wno-error=unreachable-code -Wno-error=deprecated-declarations" +maintainer_warning_flags "-Wunreachable-code -Wdocumentation -Qunused-arguments -Werror -Wno-error=unused-parameter -Wno-error=unreachable-code" optimization_flags "-O3" size_optimization_flags "-Os" diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt index 3d7eb98fe..5bcb838c9 100644 --- a/src/build-data/cc/gcc.txt +++ b/src/build-data/cc/gcc.txt @@ -7,7 +7,7 @@ lang_flags "-std=c++11 -D_REENTRANT" # This should only contain flags which are included in GCC 4.8 warning_flags "-Wall -Wextra -Wpedantic -Wstrict-aliasing -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor" -maintainer_warning_flags "-Wstrict-overflow=5 -Wold-style-cast -Wsuggest-override -Wshadow -Werror -Wno-error=strict-overflow -Wno-error=deprecated-declarations" +maintainer_warning_flags "-Wstrict-overflow=5 -Wold-style-cast -Wsuggest-override -Wshadow -Werror -Wno-error=strict-overflow" optimization_flags "-O3" size_optimization_flags "-Os" -- cgit v1.2.3