OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-176-gf9b3cf8

Gerrit Code Review
Fri, 10 Aug 2018 07:55:39 -0400

The following commit has been merged in the master branch:
commit f9b3cf888304d42c2a1a8472fdeeab68a7347859
Author: Michael Meffie <>
Date:   Sun Jan 14 09:38:26 2018 -0500

    autoconf: check for format __attribute__ to avoid warnings
    Building with Solaris Studio generates a ludicrous number of warnings
    in the form:
       roken.h, line ...: warning: attribute "format" is unknown, ignored
    Modern Solaris Studio supports several GCC-style function attributes,
    including the `noreturn' attribute, however does not support the
    `format' attribute.
    Currently, configure defines HAVE___ATTRIBUTE__ when the `noreturn'
    attribute is available. roken headers conditionally declare printf-like
    functions with the `format' function attribute when HAVE___ATTRIBUTE__
    is defined, leading to the warning messages when building under Solaris
    Studio. Unsupported function attributes generate warnings, not errors.
    Fix these warnings by defining HAVE___ATTRIBUTE__ if and only if the
    `format' attribute is supported by the compiler, instead of checking for
    `noreturn'.  Note that the `format' type is currently the only attribute
    used by roken at this time.
    Change-Id: I569167333d65df2583befc19befa8d719b93d75a
    Reviewed-by: Andrew Deason <>
    Tested-by: BuildBot <>
    Reviewed-by: Benjamin Kaduk <>

 src/cf/c-attribute.m4 |   32 +++++++++++---------------------
 1 files changed, 11 insertions(+), 21 deletions(-)

OpenAFS Master Repository