diff options
author | Jack Lloyd <[email protected]> | 2018-03-25 16:53:19 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-25 16:53:19 -0400 |
commit | 0e8280ce89a4150ed09fae3f03584cce8c405951 (patch) | |
tree | 7ddea3dc043b83b5112531ad82b942fcfcdfca28 /src/build-data | |
parent | 61fd8717d3f966b9e4831be4c6509d7e7eca8829 (diff) |
Deprecated declarations should be error in maintainer mode
Users get nervous on seeing these during compilation.
Diffstat (limited to 'src/build-data')
-rw-r--r-- | src/build-data/cc/clang.txt | 2 | ||||
-rw-r--r-- | src/build-data/cc/gcc.txt | 2 |
2 files changed, 2 insertions, 2 deletions
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" |