Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

?????? ?? C++ - ??? ??????


  • To: nginx-ru@xxxxxxxxx
  • Subject: ?????? ?? C++ - ??? ??????
  • From: Sergey Samokhin <neavirc@xxxxxxxxx>
  • Date: Mon, 03 Mar 2008 15:57:34 -0800
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; bh=ET7nObEnCqFPmv+mE3kNJjNLNthUHibnKqOnQfmoqAk=; b=Wg2stVzwZpXqENjckIwp09Ek8bbtKt1hR9ERnMAs64K8PMRA6O92bvTbpUsAbSxBqun93bZ0/P7MIj/jrcmVn/Q+POhKMVWREX/j60xsPVL3SWKAhdb2Ec2vFYHKF+W2yNleHQo3sQXUHb5Y6TmovVsq7OQeb/XcP+Sarc0K9R0=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=FgGf8y0tCRFuSmt99umpCFAStwpjbx2089SHTtuA0NliIt1IgvdmFpjkKgy6g+RmDTd+YMER4uWd+P6iwOtaWS+Tu/WBlCkdcCm9MPDWAWigfbggz54KdADmZ4DbgWQXnHuuslMpGvvf1sxAPodClrFTRpemjiuKHButpWoIa4g=

????????????.

??????? ??????????, ?????????? ?? ??????????? ?????? ?????? ? nginx ?? C++? ????????, ????????? ??? ?? ?????????? ??? g++ 4.2.2:

// ----------------------------------
#include <ngx_core.h>

int main()
{
ngx_str_t str;
}
// ----------------------------------

??????? ???:

// --------------------------------------------
g++ -o ngx_http_foo_module -I../src/nginx-0.6.26/src/core -I../src/nginx-0.6.26/objs -I../src/nginx-0.6.26/src/os/unix *.c
In file included from ../src/nginx-0.6.26/src/core/ngx_core.h:57,
from ngx_http_foo_module.c:2:
../src/nginx-0.6.26/src/core/ngx_file.h:66: error: expected unqualified-id before 'delete'
make: *** [ngx_madbanner] Error 1
// --------------------------------------------

???? ?? ??? ??????? ?????????? ? ??????? gcc.

??????? =)

nginx 0.6.26
gcc/g++ 4.2.2
--
? ?????????,
??????.



 




Copyright © Lexa Software, 1996-2009.