[Libguestfs] [PATCH nbdkit v2 2/2] include: Only use attribute((format)) on GCC or Clang.

Eric Blake eblake at redhat.com
Wed Jan 2 21:59:28 UTC 2019


On 1/2/19 2:14 PM, Richard W.M. Jones wrote:
> Allow [in theory at least - it's not tested] the public API header
> files to be consumed by a compiler which doesn't support
> attribute((format)), a non-standard C extension.
> 
> Note that we still require GCC or Clang for compiling nbdkit.
> ---
>  include/nbdkit-common.h | 13 +++++++++----
>  1 file changed, 9 insertions(+), 4 deletions(-)
> 

Looks good.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190102/2d1a997f/attachment.sig>


More information about the Libguestfs mailing list