diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2013-09-04 20:48:23 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2013-09-04 20:48:23 +0400 |
commit | 74b7a910137a99b5fb073e7c27858c019f96a8cc (patch) | |
tree | 00d2621de512d3cbae54c9e7a839e84df4825ba8 /auto/lib/pcre | |
parent | 5b3785232303f9c44543b20e1499c756462c53e6 (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.bcc | 4 |
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 |