Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-09-04 20:48:23 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2013-09-04 20:48:23 +0400
commit74b7a910137a99b5fb073e7c27858c019f96a8cc (patch)
tree00d2621de512d3cbae54c9e7a839e84df4825ba8 /auto/lib/pcre
parent5b3785232303f9c44543b20e1499c756462c53e6 (diff)
Win32: Borland C compatibility fixes.
Several false positive warnings silenced, notably W8012 "Comparing signed and unsigned" (due to u_short values promoted to int), and W8072 "Suspicious pointer arithmetic" (due to large type values added to pointers). With this patch, it's now again possible to compile nginx using bcc32, with options we normally compile on win32 minus ipv6 and ssl.
Diffstat (limited to 'auto/lib/pcre')
-rw-r--r--auto/lib/pcre/makefile.bcc4
1 files changed, 2 insertions, 2 deletions
diff --git a/auto/lib/pcre/makefile.bcc b/auto/lib/pcre/makefile.bcc
index 7230f3205..7a0f2beaf 100644
--- a/auto/lib/pcre/makefile.bcc
+++ b/auto/lib/pcre/makefile.bcc
@@ -13,8 +13,8 @@ pcre.lib:
bcc32 -c $(CFLAGS) -I. $(PCREFLAGS) pcre_*.c
- > pcre.lst
- for %n in (*.obj) do @echo +%n & >> pcre.lst
+ copy /y nul pcre.lst
+ for %n in (*.obj) do @echo +%n ^^& >> pcre.lst
echo + >> pcre.lst
tlib pcre.lib @pcre.lst