details:   http://hg.nginx.org/njs/rev/eef409d1d4be
branches:  
changeset: 217:eef409d1d4be
user:      Igor Sysoev <[email protected]>
date:      Mon Oct 24 17:23:00 2016 +0300
description:
A build with -Werror=return-type has been fixed.

Patch by Piotr Sikora.

diffstat:

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

diffs (11 lines):

diff -r f87eefdd2c3d -r eef409d1d4be nxt/auto/clang
--- a/nxt/auto/clang    Mon Oct 24 17:16:10 2016 +0300
+++ b/nxt/auto/clang    Mon Oct 24 17:23:00 2016 +0300
@@ -198,6 +198,7 @@ nxt_feature_incs=
 nxt_feature_libs=
 nxt_feature_test="int main(void) {
                       __builtin_prefetch(0);
+                      return 0;
                   }"
 . ${NXT_AUTO}feature
 

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to