summaryrefslogtreecommitdiffstats
path: root/AUTHORS
diff options
context:
space:
mode:
authorVictor Toso <victortoso@redhat.com>2015-08-14 18:24:22 +0200
committerFrediano Ziglio <fziglio@redhat.com>2015-08-20 11:00:35 +0100
commitfa19ebb83f29bfc6fa011239d5fff172282bfe55 (patch)
tree502d5d9c1c901df8e4c0553ecc4bd98a28f9675f /AUTHORS
parent2cd036e9d42ce9bf053609c9030ee7e2f9c01790 (diff)
downloadspice-protocol-fa19ebb83f29bfc6fa011239d5fff172282bfe55.tar.gz
spice-protocol-fa19ebb83f29bfc6fa011239d5fff172282bfe55.tar.xz
spice-protocol-fa19ebb83f29bfc6fa011239d5fff172282bfe55.zip
macros: verify if __alloc_size__ works with clang
So we can avoid using using an attribute not supported for the compiler. warning: ../spice-common/common/mem.h:91:80: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes] void *spice_malloc0_n(size_t n_blocks, size_t n_block_bytes) SPICE_GNUC_MALLOC SPICE_GNUC_ALLOC_SIZE2(1,2); ../spice-common/spice-protocol/spice/macros.h:52:52: note: expanded from macro 'SPICE_GNUC_ALLOC_SIZE2' #define SPICE_GNUC_ALLOC_SIZE2(x,y) __attribute__((__alloc_size__(x,y))) ^
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions