From fa8a2f3f144e39e71da0216e53a92bb6cf59689e Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 5 Jun 2020 02:57:03 -0700 Subject: libgpiod: Disable overflow warning for ioctl request code musl declares ioctl to have an int request code, so some requests might cause signed integer overflow, but will behave as expected. --- pkg/libgpiod/gen.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/libgpiod/gen.lua b/pkg/libgpiod/gen.lua index 02c2d1b6..6eb34ec3 100644 --- a/pkg/libgpiod/gen.lua +++ b/pkg/libgpiod/gen.lua @@ -1,5 +1,6 @@ cflags{ '-std=c99', '-Wall', '-Wextra', '-Wpedantic', + '-Wno-overflow', -- ioctl opcode conversion '-I $srcdir/include', '-isystem $builddir/pkg/linux-headers/include', '-include $dir/config.h', -- cgit v1.2.3