From 7215ae059150bc33ce280d58b2195ec0e569e42d Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Fri, 29 Jul 2016 13:59:25 +0200 Subject: Ignore compiler warnings regarding variable size struct Signed-off-by: Szczepan Zalega --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5cd0e30..cf0cf0c 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ INCLUDE = -Iinclude/ LIB = -lhidapi-libusb BUILD = build -CXXFLAGS = -std=c++14 -fPIC +CXXFLAGS = -std=c++14 -fPIC -Wno-gnu-variable-sized-type-not-at-end SOFLAGS = -shared CXXSOURCES = $(wildcard *.cc) -- cgit v1.2.3