The following commit has been merged in the master branch:
commit 790b3108df1f994df5ffdc7e7c2b157df67c4d47
Author: Andrew Deason <[email protected]>
Date:   Wed Jul 3 20:15:22 2024 -0500

    Inhibit -Wdeprecated-declarations via CFLAGS
    
    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 <[email protected]>
    Tested-by: BuildBot <[email protected]>

 src/auth/Makefile.in       | 1 +
 src/auth/authcon.c         | 4 ----
 src/cf/osconf.m4           | 3 +++
 src/kauth/Makefile.in      | 4 ++++
 src/kauth/kaprocs.c        | 4 ----
 src/kauth/krb_udp.c        | 4 ----
 src/libafscp/Makefile.in   | 1 +
 src/libafscp/afscp_util.c  | 4 ----
 src/rxkad/Makefile.in      | 2 ++
 src/rxkad/test/Makefile.in | 4 +++-
 src/rxkad/test/stress_c.c  | 4 ----
 src/rxkad/ticket5.c        | 1 -
 tests/auth/superuser-t.c   | 5 -----
 tests/common/Makefile.in   | 2 ++
 tests/common/rxkad.c       | 4 ----
 15 files changed, 16 insertions(+), 31 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to