Re: bhyve: fix bhyve warning CTASSERT

2015-08-13 Thread John-Mark Gurney
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

Re: bhyve: fix bhyve warning CTASSERT

2015-08-13 Thread Conrad Meyer
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 stefanogarzare...@gmail.com wrote: Hi all, when I compile bhyve, I have the following errors from clang: pci_emul.c:750:2: error: unused typedef