Welcome! Log In Create A New Profile

Advanced

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

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

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

diffstat:

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

diffs (12 lines):

diff --git a/auto/unix b/auto/unix
--- a/auto/unix
+++ b/auto/unix
@@ -261,7 +261,7 @@ ngx_feature_run=no
ngx_feature_incs="#include <dlfcn.h>"
ngx_feature_path=
ngx_feature_libs=
-ngx_feature_test="dlopen(NULL, RTLD_NOW | RTLD_GLOBAL); dlsym(NULL, NULL)"
+ngx_feature_test="dlopen(NULL, RTLD_NOW | RTLD_GLOBAL); dlsym(NULL, \"\")"
. 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=nonnull.

Maxim Dounin 203 July 07, 2016 09:52AM



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

Online Users

Guests: 172
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