[nginx] Configure: enable -Wconditional-uninitialized with clang.

Ruslan Ermilov ru at nginx.com
Fri Dec 6 09:18:54 UTC 2013


details:   http://hg.nginx.org/nginx/rev/fedf777c6b24
branches:  
changeset: 5459:fedf777c6b24
user:      Ruslan Ermilov <ru at nginx.com>
date:      Fri Dec 06 13:16:56 2013 +0400
description:
Configure: enable -Wconditional-uninitialized with clang.

diffstat:

 auto/cc/clang |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 4a71ef1aa36d -r fedf777c6b24 auto/cc/clang
--- a/auto/cc/clang	Wed Dec 04 23:13:13 2013 +0400
+++ b/auto/cc/clang	Fri Dec 06 13:16:56 2013 +0400
@@ -82,6 +82,7 @@ fi
 # warnings
 
 CFLAGS="$CFLAGS $NGX_CLANG_OPT -Wall -Wextra -Wpointer-arith"
+CFLAGS="$CFLAGS -Wconditional-uninitialized"
 #CFLAGS="$CFLAGS -Wmissing-prototypes"
 
 # we have a lot of unused function arguments



More information about the nginx-devel mailing list