From fcd3eeaaa51aa0eb00db00a1a8d8fd1ef8d58795 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 25 Feb 2016 22:13:46 +0200 Subject: [PATCH] Pass -Wno-variadic-macros to the compiler Glib headers contain variadic macros, which are not allowed by the C90 standard. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.43.0