mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
790b3108df
Currently, we inhibit various -Wdeprecated-declarations warnings via "#pragma GCC diagnostic warning". Some older compilers (like gcc 4.1 on RHEL5) don't understand the pragma, but still need the warning inhibited in order to build with --enable-checking. So just inhibit this warning via command-line CFLAGS instead of using #pragma directives. One source file, tests/auth/superuser-t.c, was inhibiting the -Wdeprecated-declaractions warning unnecessarily (it has not been needed since commit 5815a04cf1f3 (tests: Move token faking code to its own file)). Just remove the warning inhibition there, instead. Change-Id: I52b1aeeac8699f9a4820626e9f1349f8cd380585 Reviewed-on: https://gerrit.openafs.org/15777 Reviewed-by: Michael Meffie <mmeffie@sinenomine.net> Tested-by: BuildBot <buildbot@rampaginggeek.com>