nginx-1.2.3

姚伟斌 nbubingo at gmail.com
Wed Aug 8 04:41:36 UTC 2012


Hi, A compile warning in my Ubuntu server:

clang -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wno-unused-parameter
-g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I
objs \
        -o objs/src/os/unix/ngx_setaffinity.o \

src/os/unix/ngx_setaffinity.c
src/os/unix/ngx_setaffinity.c:57:13: warning: expression result unused
[-Wunused-value]
CPU_SET(i, &mask);
            ^~~~~~~~~~~~~~~~~
                                                      In file included
from src/os/unix/ngx_setaffinity.c:7:
In file included from src/core/ngx_config.h:26:
                                                      In file included
from src/os/unix/ngx_linux_config.h:41:
/usr/include/sched.h:72:33: note: instantiated from:
                                                      # define
CPU_SET(cpu, cpusetp)   __CPU_SET_S (cpu, sizeof (cpu_set_t), cpusetp)
                                 ^
                                                      In file included
from src/os/unix/ngx_setaffinity.c:7:
In file included from src/core/ngx_config.h:26:
                                                      In file included
from src/os/unix/ngx_linux_config.h:41:
In file included from /usr/include/sched.h:35:

/usr/include/bits/sched.h:145:9: note: instantiated from:
      : 0; }))
                                                              ^
1 diagnostic generated.

Clang version:
yaoweibin at li398-116:~/work/nginx-1.2.3$ clang -v
clang version 1.1 (branches/release_27)
Target: i386-pc-linux-gnu
Thread model: posix

OS version:
yaoweibin at li398-116:~/work/nginx-1.2.3$ uname -a
Linux li398-116 3.0.18 #1 SMP Mon Jan 30 11:44:09 EST 2012 i686 GNU/Linux


2012/8/7 Kevin Worthington <kworthington at gmail.com>:
> Hello Nginx Users,
>
> Now available: Nginx 1.2.3 For Windows http://goo.gl/BifNJ (32-bit and
> 64-bit versions)
>
> These versions are to support legacy users who are already using
> Cygwin based builds of Nginx. Officially supported native Windows
> binaries are at nginx.org.
>
> Announcements are also available via my Twitter stream
> (http://twitter.com/kworthington), if you prefer to receive updates
> that way.
>
> Thank you,
> Kevin
> --
> Kevin Worthington
> kworthington *@* /gmail\  [dot} {com)
> http://kevinworthington.com/
> http://twitter.com/kworthington
>
>
> On Tue, Aug 7, 2012 at 8:53 AM, Maxim Dounin <mdounin at mdounin.ru> wrote:
>>
>> Changes with nginx 1.2.3                                         07 Aug 2012
>>
>>     *) Feature: the Clang compiler support.
>>
>>     *) Bugfix: extra listening sockets might be created.
>>        Thanks to Roman Odaisky.
>>
>>     *) Bugfix: nginx/Windows might hog CPU if a worker process failed to
>>        start.
>>        Thanks to Ricardo Villalobos Guevara.
>>
>>     *) Bugfix: the "proxy_pass_header", "fastcgi_pass_header",
>>        "scgi_pass_header", "uwsgi_pass_header", "proxy_hide_header",
>>        "fastcgi_hide_header", "scgi_hide_header", and "uwsgi_hide_header"
>>        directives might be inherited incorrectly.
>>
>>     *) Bugfix: trailing dot in a source value was not ignored if the "map"
>>        directive was used with the "hostnames" parameter.
>>
>>     *) Bugfix: incorrect location might be used to process a request if a
>>        URI was changed via a "rewrite" directive before an internal redirect
>>        to a named location.
>>
>>
>> Maxim Dounin
>>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list