nginx 1.1.8 не собирается clang на -CURRENT
vsharun
nginx-forum на nginx.us
Пт Ноя 18 09:02:01 UTC 2011
FreeBSD 10.0-CURRENT #2: Tue Nov 8 09:30:37 EET 2011
src/os/unix/ngx_files.c:470:1: error: expected parameter declarator
ngx_read_ahead(ngx_fd_t fd, size_t n)
^
src/os/unix/ngx_files.h:280:44: note: expanded from:
#define ngx_read_ahead(fd, n) fcntl(fd, F_READAHEAD, (int) n)
^
/usr/include/fcntl.h:226:21: note: expanded from:
#define F_READAHEAD 15 /* read ahead */
^
src/os/unix/ngx_files.c:470:1: error: expected ')'
src/os/unix/ngx_files.c:470:1: note: to match this '('
ngx_read_ahead(ngx_fd_t fd, size_t n)
^
src/os/unix/ngx_files.h:280:39: note: expanded from:
#define ngx_read_ahead(fd, n) fcntl(fd, F_READAHEAD, (int) n)
^
src/os/unix/ngx_files.c:470:1: error: conflicting types for 'fcntl'
ngx_read_ahead(ngx_fd_t fd, size_t n)
^
src/os/unix/ngx_files.h:280:34: note: expanded from:
#define ngx_read_ahead(fd, n) fcntl(fd, F_READAHEAD, (int) n)
^
/usr/include/fcntl.h:296:5: note: previous declaration is here
int fcntl(int, int, ...);
^
3 errors generated.
*** Error code 1
Posted at Nginx Forum: http://forum.nginx.org/read.php?21,218549,218549#msg-218549
Подробная информация о списке рассылки nginx-ru