OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-26-gfd5aa52

Gerrit Code Review gerrit@openafs.org
Thu, 10 Jun 2021 12:32:50 -0400


The following commit has been merged in the master branch:
commit fd5aa52ef8ce719502f970ab93ffde07d7ed4780
Author: Cheyenne Wills <cwills@sinenomine.net>
Date:   Fri Jun 4 10:18:39 2021 -0600

    cf: Resolve implicit function definition for memset
    
    The autoconf function OPENAFS_HAVE_STRUCT_FIELD can produce a compiler
    warning for an implicit function definition for memset, however with
    macOS 11 (Big Sur) the default compiler flags have been changed
    (-Werror=implicit-function-declaration) so that this is now flagged as an
    error. As an error this can lead to an incorrect result returned by
    OPENAFS_HAVE_STRUCT_FIELD.
    
    Add an include for <string.h> to provide the necessary definition for
    memset.
    
    Note, both gcc and clang can produce the implicit function definition
    warning.
    
    Change-Id: I05ea43e1712c0450b7d1a78d4e953bfad9be28b9
    Reviewed-on: https://gerrit.openafs.org/14631
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/cf/have-struct-field.m4 |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository