mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-27 15:08:16 +00:00
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)))
^
|
||
|---|---|---|
| .. | ||
| barrier.h | ||
| controller_prot.h | ||
| end-packed.h | ||
| enums.h | ||
| error_codes.h | ||
| foreign_menu_prot.h | ||
| ipc_ring.h | ||
| macros.h | ||
| Makefile.am | ||
| protocol.h | ||
| qxl_dev.h | ||
| qxl_windows.h | ||
| start-packed.h | ||
| stats.h | ||
| types.h | ||
| vd_agent.h | ||
| vdi_dev.h | ||