Skip to content

Commit 0923b85

Browse files
authored
Ignore new compiler warnings in gcc 8.2.0
I was testing the new Debian "buster" image by @RobertCNelson and we noticed that the Adafruit_BBIO build was failing on compiler warnings. This seems to be due to the introduction of new compiler warnings in the more recent version of gcc that is on the buster image: https://rcn-ee.net/rootfs/bb.org/testing/2019-03-03/buster-iot/bone-debian-buster-iot-armhf-2019-03-03-4gb.img.xz a shot
1 parent b2a6be5 commit 0923b85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
else:
2222
kernel41 = None
2323

24-
CFLAGS = ['-Wall', '-Werror', '-Wextra', '-Wno-missing-field-initializers', '-Wno-strict-aliasing' ]
24+
CFLAGS = ['-Wall', '-Werror', '-Wextra', '-Wno-missing-field-initializers', '-Wno-strict-aliasing', '-Wno-cast-function-type', '-Wno-error=format-truncation=', '-Wno-error=sizeof-pointer-memaccess' ]
2525

2626
classifiers = ['Development Status :: 3 - Alpha',
2727
'Operating System :: POSIX :: Linux',

0 commit comments

Comments
 (0)