On Tue, Oct 11, 2005 at 11:29:04PM +0400, Igor Sysoev wrote:
> On Tue, 11 Oct 2005, Alexey Bestchiokov wrote:
>
> >Игорь, ICC 9.0 снова ругается :) правда значительно меньше чем в прошлый
> >раз :)
> >
> >icc: Command line remark: option '-ipo_obj' not supported
>
> А что там есть про ipo ?
>
> icc -help | grep -5 ipo
-fast enable -xP -O3 -ipo -no-prec-div -static
-Ob<n> control inline expansion:
n=0 disables inlining
n=1 inline functions declared with __inline, and perform C++
inlining
n=2 inline any function, at the compiler's discretion (same
as -ip)
-falias assume aliasing in program (DEFAULT)
--
-ipo[n] enable multi-file IP optimizations (between files)
-ipo-c generate a multi-file object file (ipo_out.o)
-ipo-S generate a multi-file assembly file (ipo_out.s)
Modify the behavior of IP:
-ip-no-inlining disable full and partial inlining (requires
-ip or -ipo)
-ip-no-pinlining disable partial inlining (requires -ip or
-ipo)
-ipo-separate create one object file for every source file
(overrides -ipo[n])
Other Advanced Performance Options:
-unroll[n] set maximum number of times to unroll loops. Omit n to use
default heuristics. Use n=0 to disable loop unroller.
-unroll [n] set maximum number of times to unroll loops. Omit n to use
>
> >src/core/nginx.c(35): error #1684: conversion from pointer to same-sized
> >integral type (potential portability problem)
> > offsetof(ngx_core_conf_t, daemon),
>
> Это, видимо, придётся запретить - он так на каждый offsetof() будет
> ругаться.
>
> >src/os/unix/ngx_writev_chain.c(84): error #1682: implicit conversion of a
> >64-bit integral type to a smaller integral type (potential portability
> >problem)
> > size = (ssize_t) limit - send;
>
> А если так:
>
> - size = (ssize_t) limit - send;
> + size = (ssize_t) (limit - send);
в 0.3.2 ::
src/os/unix/ngx_posix_init.c(53): error #1682: implicit conversion of a 64-bit
integral type to a smaller integral type (potential portability
problem)
ngx_max_sockets = rlmt.rlim_cur;
>
>
> >src/http/ngx_http.c(727): error #1599: declaration hides variable "n"
> >(declared at line 75)
> > ngx_uint_t p, a, n;
>
> Это поправлю.
в 0.3.2 осталось
>
>
> Игорь Сысоев
> http://sysoev.ru
>