Maxim Dounin
b0d01ba522
Win32: MSVC 2013 compatibility.
...
Warnings about GetVersionEx() deprecation silenced. Precompiled object
linked in.
2014-02-13 16:54:00 +04:00
Ruslan Ermilov
e3242cbdb1
Configure: enabled -Werror for clang.
...
Modern clang versions seem to no longer produce warnings for
system headers on Linux (at least clang 3.3 works), hence the
change. For older versions --with-cc-opt="-Wno-error" can be
used as a workaround.
2014-01-28 00:31:31 +04:00
Ruslan Ermilov
97ef1e5308
Configure: enable -Wconditional-uninitialized with clang.
2013-12-06 13:16:56 +04:00
Maxim Dounin
bcfe2e80bb
Configure: fixed building with Sun C if CFLAGS set (ticket #65 ).
2013-09-04 21:17:03 +04:00
Maxim Dounin
8c6d551127
Win32: Open Watcom C compatibility fixes.
...
Precompiled headers are disabled as they lead to internal compiler errors
with long configure lines. Couple of false positive warnings silenced.
Various win32 typedefs are adjusted to work with Open Watcom C 1.9 headers.
With this patch, it's now again possible to compile nginx using owc386,
with options we normally compile on win32 minus ipv6 and ssl.
2013-09-04 20:48:22 +04:00
Sergey Kandaurov
393529a9d3
Configure: fixed autotest cleanup commands.
...
Previously, if configured with --with-cc="clang -g", the autotest.dSYM
directories were left unremoved.
2013-07-31 18:16:40 +04:00
Ruslan Ermilov
f5bde9d067
Configure: fixed detection of newer Apple clang compilers.
2013-04-29 18:07:22 +04:00
Sergey Budnevitch
5875127661
Removed redundant variable assignment.
2013-01-21 15:05:54 +00:00
Ruslan Ermilov
c4fa6e1a31
Removed extraneous GCC warning flags.
2012-07-29 19:45:30 +00:00
Ruslan Ermilov
a8ba779147
Added the Clang compiler support.
...
The -Werror is commented out to not break builds on Linux.
2012-07-24 15:17:03 +00:00
Ruslan Ermilov
0e5749c2fd
Added a commented out -Wmissing-prototypes to CFLAGS.
...
It is commented out to not break builds with 3rd party modules.
2012-07-24 15:13:34 +00:00
Ruslan Ermilov
a6b64ace7a
Replaced a number of "else if" with "elif".
2012-07-24 15:00:42 +00:00
Maxim Dounin
4ce9dbd11f
Configure: moved icc detection before gcc.
...
New versions of icc confuse auto/cc/name due to introduced handling
of a "icc -v":
$ icc -v
icc version 12.1.3 (gcc version 4.6.0 compatibility)
$ icc -V
Intel(R) C Compiler XE for applications running on IA-32, Version 12.1.3.293 Build 20120212
Copyright (C) 1985-2012 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY
See report here:
http://mailman.nginx.org/pipermail/nginx/2012-February/032177.html
2012-02-27 16:23:44 +00:00
Maxim Konovalov
0330b7ef84
Copyright updated.
2012-01-18 15:07:43 +00:00
Maxim Konovalov
8eb05fbc39
Some questionable optomizations flags for icc were removed
...
in order to simplify support of its future versions.
2011-12-29 15:36:07 +00:00
Igor Sysoev
85bd9c3bff
Fix of building by Microsoft Visual C++ 10 compiler.
2011-10-26 08:16:59 +00:00
Maxim Dounin
d8a0ae2edb
Lower optimization level for Sun Studio before 12.1.
...
At least Sun Studio 12 has problems with bit-fields exposed by nginx code
(caught by test suite). They seems to be fixed in Sun Studio 12.1. As a
workaround use "-fast -xalias_level=any" for older versions, it resolves
the problem.
2011-08-18 15:10:23 +00:00
Igor Sysoev
df89ec501a
try to use C99 variadic macros first:
...
AIX 5.3's XL C has problems with GCC style variadic macros
2010-07-05 13:02:25 +00:00
Igor Sysoev
90fbee3778
do not add NGX_GCC_OPT twice: it is added later with -W
2009-12-21 17:51:30 +00:00
Igor Sysoev
36f3d115fc
test invalid --with-ld-opt in right place
2009-11-27 22:02:04 +00:00
Igor Sysoev
c4cf77686e
atomic operations test-run
2009-11-27 22:00:39 +00:00
Igor Sysoev
e43dac2e19
GCC 4.1 builtin atomic operations
2009-11-25 17:34:35 +00:00
Igor Sysoev
bcacef7f18
use tab in Makefile
2009-05-28 14:33:37 +00:00
Igor Sysoev
71cf32439f
add miltilines in OpenWatcom makefiles
2009-05-12 13:29:00 +00:00
Igor Sysoev
123db90851
remove BMAKE (build make): a cc compiler should use own make
2009-05-10 18:35:08 +00:00
Igor Sysoev
a3e783a0de
preserve Solaris binary hardware capabilities
2009-05-08 09:41:43 +00:00
Igor Sysoev
0aa44a8c2a
update gcc warnings
2009-04-24 15:31:13 +00:00
Igor Sysoev
783a4563b5
Win32 master/workers model
2009-04-20 06:08:47 +00:00
Igor Sysoev
65ff46961d
add variadic macros support for msvc8
2009-04-19 16:25:02 +00:00
Igor Sysoev
a9459cfc60
OpenSSL building by MSVC and BCC from sources
2009-04-15 19:46:24 +00:00
Igor Sysoev
f00d37ff4f
link staticaly with libcmt
2009-04-01 12:58:31 +00:00
Igor Sysoev
77ca451c35
msvc8 compatibility: it can not build with debug under Wine
2007-11-15 14:22:12 +00:00
Igor Sysoev
733bd4cb4e
add msvc8
2007-11-15 11:00:06 +00:00
Igor Sysoev
4bce4da522
option -Yd has been deprecated in msvc8,
...
option -debugtype:coff is unsupported in msvc8
2007-11-15 10:59:07 +00:00
Igor Sysoev
4cfb5c76e2
enable precompiled headers for msvc7,
...
probably they were disabled because of some Wine bug
2007-11-15 10:25:30 +00:00
Igor Sysoev
12e21a5a09
add debug info for Sun Studio
2007-08-07 10:56:45 +00:00
Igor Sysoev
4d12a376e8
fix building on amd64 by Sun Studio 11 and more early versions
2007-07-28 08:48:12 +00:00
Igor Sysoev
e5476b20b9
fix building on amd64 and add -xipo to the link stage
2007-07-21 06:23:58 +00:00
Igor Sysoev
00beec63d5
Sun Studio 12 compatibility
2007-07-16 08:54:04 +00:00
Igor Sysoev
a2f7a8ba87
--with-cpu-opt=sparc32 and --with-cpu-opt=sparc64
2007-07-15 20:09:14 +00:00
Igor Sysoev
5aff3fd765
fix building PCRE by SunStudio
2007-07-15 19:17:46 +00:00
Igor Sysoev
9fdf0cf09b
8.1.38 under FreeBSD can not link -ipo
2007-04-19 17:49:24 +00:00
Igor Sysoev
c9a06da858
remove trailing space in icc version
2007-04-19 17:48:49 +00:00
Igor Sysoev
e08323b6a3
fix default -O
2007-01-11 16:20:18 +00:00
Igor Sysoev
c2ec05c892
early C compiler test
2006-12-23 20:31:14 +00:00
Igor Sysoev
3babe9f770
test PCRE in FreeBSD, Linux, and NetBSD
2006-11-27 11:07:09 +00:00
Igor Sysoev
4d1211b5bb
backout the previous commit
2006-10-19 10:19:19 +00:00
Igor Sysoev
87f8ce498e
disable bcc precompiled headers,
...
bcc hungs at src/core/ngx_hash.c after previous commit
2006-10-19 09:59:18 +00:00
Igor Sysoev
7f22fb4ae0
add sun4v
2006-10-05 20:06:03 +00:00
Igor Sysoev
94e3468c96
add sun4v
2006-10-05 20:03:34 +00:00