Using nginx 1.1 with the intel compiler

Maxim Dounin mdounin at mdounin.ru
Sat Feb 25 01:09:01 UTC 2012


Hello!

On Sat, Feb 25, 2012 at 12:48:34PM +1300, Ryan Brown wrote:

> Any clues on this?

It looks like you somehow persuaded nginx that your compiler is 
gcc, and it uses command line arguments appropiate for gcc instead 
of ones for icc.  See auto/cc/icc for a long list of warnings which 
should be ignored with icc.

Maxim Dounin

> 
> On Thu, Feb 23, 2012 at 10:36 AM, Ryan Brown <mp3geek at gmail.com> wrote:
> > Okay, manage to get it to compile,
> >
> > make[1]: Entering directory `/root/trunk'
> > /opt/intel/bin/icc -c -pipe  -O -W -Wall -Wpointer-arith
> > -Wno-unused-parameter -Wunused-function -Wunused-variable
> > -Wunused-value -Werror -g  -I src/core -I src/event -I
> > src/event/modules -I src/os/unix -I objs \
> >                -o objs/src/core/ngx_string.o \
> >                src/core/ngx_string.c
> > icc: command line warning #10006: ignoring unknown option '-Wunused-value'
> > src/core/ngx_string.c(1519): error #188: enumerated type mixed with another type
> >      state = 0;
> >            ^
> >
> > compilation aborted for src/core/ngx_string.c (code 2)
> > make[1]: *** [objs/src/core/ngx_string.o] Error 2
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list