Re: [PATCH v3 02/10] libvhost-user: Replace typeof with __typeof__

2022-12-22 Thread Marcel Holtmann
Hi Paolo, >> Strictly speaking only -std=gnu99 support the usage of typeof and for >> easier inclusion in external projects, it is better to use __typeof__. >> CC libvhost-user.o >> libvhost-user.c: In function ‘vu_log_queue_fill’: >> libvhost-user.c:86:13: error: implicit declaration of

Re: [PATCH v3 02/10] libvhost-user: Replace typeof with __typeof__

2022-12-22 Thread Paolo Bonzini
On 12/21/22 14:10, Marcel Holtmann wrote: Strictly speaking only -std=gnu99 support the usage of typeof and for easier inclusion in external projects, it is better to use __typeof__. CC libvhost-user.o libvhost-user.c: In function ‘vu_log_queue_fill’: libvhost-user.c:86:13: error:

[PATCH v3 02/10] libvhost-user: Replace typeof with __typeof__

2022-12-21 Thread Marcel Holtmann
Strictly speaking only -std=gnu99 support the usage of typeof and for easier inclusion in external projects, it is better to use __typeof__. CC libvhost-user.o libvhost-user.c: In function ‘vu_log_queue_fill’: libvhost-user.c:86:13: error: implicit declaration of function ‘typeof’