From 2bf10f154ef00dcea80bfa6daafcb2cfcb7997c6 Mon Sep 17 00:00:00 2001 From: "psyc://loupsycedyglgamf.onion/~lynX" Date: Tue, 16 Jul 2013 14:53:52 +0000 Subject: [PATCH] tests do not work with -std=c99 !? --- test/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index 1b1d98c..13b4846 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,6 +1,9 @@ OPT = -O2 DEBUG = 2 -CFLAGS = -I../include -I../src -Wall -std=c99 ${OPT} + +# compilation fails if -std=c99 is provided!? +# (netdb.h refuses to export struct addrinfo) +CFLAGS = -I../include -I../src -Wall ${OPT} LDFLAGS = -L../lib LOADLIBES = -lpsyc -lm TARGETS = test_psyc test_psyc_speed test_parser test_match test_render test_text var_routing var_type uniform_parse test_packet_id test_index test_update method