From b5f88b593a580956dfb74b6fb9ba9ab3e178bdf6 Mon Sep 17 00:00:00 2001 From: seyko Date: Tue, 3 Mar 2015 16:32:25 +0300 Subject: Turn on a implicit-function-declaration warning by default. A non declared function leads to a seriuos problems. And while gcc don't turn this warning on lets tcc do it. This warning can be turned off by -Wno-implicit-function-declaration option. And autor must explicitly do this if program must be compiled with this warning off. --- tests/tests2/64_macro_nesting.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/tests2/64_macro_nesting.c') diff --git a/tests/tests2/64_macro_nesting.c b/tests/tests2/64_macro_nesting.c index 44b582f..676e5d3 100644 --- a/tests/tests2/64_macro_nesting.c +++ b/tests/tests2/64_macro_nesting.c @@ -1,3 +1,5 @@ +#include // printf() + #define CAT2(a,b) a##b #define CAT(a,b) CAT2(a,b) #define AB(x) CAT(x,y) -- cgit v1.3.1