[nginx] Configure: added gcc5 to the list of known GCC versions.

Valentin Bartenev vbart at nginx.com
Wed Jun 10 16:19:00 UTC 2015


details:   http://hg.nginx.org/nginx/rev/c041f1e0655f
branches:  
changeset: 6178:c041f1e0655f
user:      Valentin Bartenev <vbart at nginx.com>
date:      Wed Jun 10 19:18:20 2015 +0300
description:
Configure: added gcc5 to the list of known GCC versions.

diffstat:

 auto/cc/gcc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 4d25ec8f0adb -r c041f1e0655f auto/cc/gcc
--- a/auto/cc/gcc	Wed Jun 10 12:25:45 2015 +0300
+++ b/auto/cc/gcc	Wed Jun 10 19:18:20 2015 +0300
@@ -153,7 +153,7 @@ CFLAGS="$CFLAGS -Wall -Wpointer-arith"
 
 
 case "$NGX_GCC_VER" in
-    3.* | 4.* )
+    [3-5].*)
         # we have a lot of the unused function arguments
         CFLAGS="$CFLAGS -Wno-unused-parameter"
         # 4.2.1 shows the warning in wrong places



More information about the nginx-devel mailing list