Re: [PATCH 5/8] util: use gnu_printf format attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, 13 Nov 2019 at 15:53, Ed Maste <emaste@xxxxxxxxxxx> wrote:
>
> Ok, I'll try to submit it in the next few days. Cirrus-CI will do
> Linux, FreeBSD, Windows, and macOS - I'll start with a FreeBSD config
> first, and then try adding equivalent configs for the existing CI for
> comparison.

Ok, the first step is to get it building on FreeBSD again - currently
fails with:

./util.h:27:29: error: 'format' attribute argument not supported: gnu_printf
      [-Werror,-Wignored-attributes]
static inline void NORETURN PRINTF(1, 2) die(const char *str, ...)
                            ^
./util.h:15:37: note: expanded from macro 'PRINTF'
#define PRINTF(i, j)    __attribute__((format (gnu_printf, i, j)))
                                       ^
Reverting 588a29ff2e lets me build.



[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux