Conrad Meyer wrote this message on Thu, Aug 13, 2015 at 08:12 -0700:
> Better to just replace CTASSERT() with _Static_assert() while you're here.
And make sure that sys/cdefs.h is included for compatibility w/ pre-C11
compilers...
> On Thu, Aug 13, 2015 at 5:05 AM, Stefano Garzarella
> wrote:
>
Better to just replace CTASSERT() with _Static_assert() while you're here.
Best,
Conrad
On Thu, Aug 13, 2015 at 5:05 AM, Stefano Garzarella
wrote:
> Hi all,
> when I compile bhyve, I have the following errors from clang:
> pci_emul.c:750:2: error: unused typedef '__assert750'
> [-Werror,-Wunused
Hi all,
when I compile bhyve, I have the following errors from clang:
pci_emul.c:750:2: error: unused typedef '__assert750'
[-Werror,-Wunused-local-typedef]
CTASSERT(sizeof(struct msicap) == 14);
pci_emul.c:776:2: error: unused typedef '__assert776'
[-Werror,-Wunused-local-typedef]