Welcome! Log In Create A New Profile

Advanced

[nginx] Configure: fix build with -Werror=unused-value.

Maxim Dounin
July 07, 2016 09:52AM
details: http://hg.nginx.org/nginx/rev/0c3e464682e2
branches:
changeset: 6621:0c3e464682e2
user: Piotr Sikora <piotrsikora@google.com>
date: Mon Jun 27 15:00:02 2016 -0700
description:
Configure: fix build with -Werror=unused-value.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>

diffstat:

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

diffs (12 lines):

diff --git a/auto/cc/conf b/auto/cc/conf
--- a/auto/cc/conf
+++ b/auto/cc/conf
@@ -231,7 +231,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then
ngx_feature_incs=
ngx_feature_path=
ngx_feature_libs=
- ngx_feature_test="__builtin_bswap64(0)"
+ ngx_feature_test="if (__builtin_bswap64(0)) return 1"
. auto/feature



_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Configure: fix build with -Werror=unused-value.

Maxim Dounin 198 July 07, 2016 09:52AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 151
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready