Привет !
Собирал тут 21.0 под SCO OpenServer 5
cc -c -O -DSCO5 -DSTATUS -b elf -DUSE_TRANSFER_TABLES -DEPOCH_EXPIRES
и нарвался на кучу предупреждений.
На сколько помню вот это лезет и в оригинале:
"mod_include.c", line 1174: warning: end-of-loop code not reached
"mod_include.c", line 1281: warning: end-of-loop code not reached
а вот это
"http_protocol.c", line 1090: warning: argument is incompatible with prototype: arg #1
"http_protocol.c", line 1092: warning: argument is incompatible with prototype: arg #1
"http_protocol.c", line 1093: warning: argument is incompatible with prototype: arg #1
"http_protocol.c", line 1114: warning: argument is incompatible with prototype: arg #1
"http_protocol.c", line 1777: warning: argument is incompatible with prototype: arg #1
"http_protocol.c", line 1846: warning: argument is incompatible with prototype: arg #1
"http_protocol.c", line 1900: warning: argument is incompatible with prototype: arg #2
"http_bprintf.c", line 147: warning: argument is incompatible with prototype: arg #3
"http_bprintf.c", line 147: warning: argument is incompatible with prototype: arg #4
"http_bprintf.c", line 640: warning: argument is incompatible with prototype: arg #3
"http_bprintf.c", line 640: warning: argument is incompatible with prototype: arg #4
"mod_charset.c", line 375: warning: argument is incompatible with prototype: arg #2
"mod_charset.c", line 375: warning: argument is incompatible with prototype: arg #3
"mod_charset.c", line 379: warning: argument is incompatible with prototype: arg #2
"mod_charset.c", line 1226: warning: argument is incompatible with prototype: arg #1
"mod_charset.c", line 1230: warning: argument is incompatible with prototype: arg #1
"mod_charset.c", line 1234: warning: argument is incompatible with prototype: arg #1
"mod_charset.c", line 1237: warning: argument is incompatible with prototype: arg #1
"mod_charset.c", line 1240: warning: argument is incompatible with prototype: arg #1
"mod_charset.c", line 1247: warning: argument is incompatible with prototype: arg #1
"mod_charset.c", line 1249: warning: argument is incompatible with prototype: arg #1
"mod_charset.c", line 1367: warning: statement not reached
из-за руссификации и вызвано использование unsigned char
вместо char и на оборот. Сие конечно не смертельно, но несколько
не опрятно. Не знаю кто как, а я привык что исходники компилятся
без warning.
Может всетаки расставить по тесту (char) и (unsigned char) ?
Павел ТОМКОТОВИЧ Яковлев
hac@tomcat.ru
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE.
Copyright (C) 1995-2001 The Apache Group. All rights reserved.
Copyright (C) 1996 Dm. Kryukov; Copyright (C)
1997-2009 Alex Tutubalin. Design (C) 1998 Max Smolev.