From: Brian Paul Date: Thu, 12 Mar 2009 23:21:20 +0000 (-0600) Subject: config: add -Wdeclaration-after-statement to linux config X-Git-Tag: 062012170305~17580^2~150 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e1b2bac8be4f3a46d7d1c33f43b66c669f3971e;p=profile%2Fivi%2Fmesa.git config: add -Wdeclaration-after-statement to linux config Should help to catch Windows build issues earlier. --- diff --git a/configs/linux b/configs/linux index 15700a1..73a6b61 100644 --- a/configs/linux +++ b/configs/linux @@ -22,7 +22,8 @@ DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \ X11_INCLUDES = -I/usr/X11R6/include -CFLAGS = -Wall -Wmissing-prototypes $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \ +CFLAGS = -Wall -Wmissing-prototypes -Wdeclaration-after-statement \ + $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) \ $(DEFINES) $(ASM_FLAGS) $(X11_INCLUDES) -std=c99 -ffast-math CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \