ArchitecturesRules: error on use of deprecated functions

The previous commits have cleaned all the remaining ones.

Change-Id: I6b12ba4f23779f3e2e4fd5a00c6acfaaeb50f4d6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6804
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
This commit is contained in:
PulkoMandy 2023-08-09 21:53:11 +02:00 committed by Adrien Destugues
parent 9858be4f63
commit 51355272b3

View File

@ -127,7 +127,6 @@ rule ArchitectureSetup architecture
if $(HAIKU_CC_IS_LEGACY_GCC_$(architecture)) != 1 {
# TODO: Remove all these.
HAIKU_WERROR_FLAGS_$(architecture) += -Wno-error=unused-but-set-variable
-Wno-error=deprecated-declarations
-Wno-error=cpp -Wno-error=register ;
# These currently generate too many "false positives."
HAIKU_WERROR_FLAGS_$(architecture) += -Wno-error=address-of-packed-member