OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-405-g8207d4d

Gerrit Code Review gerrit@openafs.org
Fri, 28 Jun 2024 14:41:26 -0400


The following commit has been merged in the master branch:
commit 8207d4d74e6b243ace853f2c5fb6d44f22c7710f
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Thu May 18 12:43:19 2023 -0500

    AIX: Avoid COMPAT_43 for clang
    
    We currently define COMPAT_43 for AIX. This causes some socket-related
    structures and functions to be defined to be compatible with BSD 4.3,
    but causes us to not get function prototypes for recvmsg() and
    sendmsg(). When using the clang-based XLC 17.1, this causes errors:
    
        .../src/rx/rx_lwp.c:414:12: error: call to undeclared function 'recvmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            code = recvmsg(socket, msg_p, flags);
                   ^
        .../src/rx/rx_lwp.c:432:12: error: call to undeclared function 'sendmsg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
            while (sendmsg(socket, msg_p, flags) == -1) {
                   ^
    
    To avoid this, don't define COMPAT_43. To try to make sure we don't
    change anything when using the old xlc, still define COMPAT_43 when
    we're not using clang.
    
    Change-Id: I4971df46f0b8e10463c42938d12fa27dff514da7
    Reviewed-on: https://gerrit.openafs.org/15445
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>

 src/config/param.rs_aix72.h | 4 ++--
 src/config/param.rs_aix73.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

-- 
OpenAFS Master Repository