From: Mikko Rasa Date: Thu, 25 Feb 2016 20:13:46 +0000 (+0200) Subject: Pass -Wno-variadic-macros to the compiler X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=fcd3eeaaa51aa0eb00db00a1a8d8fd1ef8d58795;p=pmount-gui.git Pass -Wno-variadic-macros to the compiler Glib headers contain variadic macros, which are not allowed by the C90 standard. --- diff --git a/Makefile b/Makefile index 1632770..4614313 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ pmount-gui: main.c - $(CC) -Wall -Wextra -std=c90 -pedantic -o $@ $^ $(shell pkg-config --cflags --libs gtk+-2.0) + $(CC) -Wall -Wextra -std=c90 -pedantic -Wno-variadic-macros -ggdb -o $@ $^ $(shell pkg-config --cflags --libs gtk+-2.0)