Yang Tse
f6b4cacfae
cares-compilers.m4: double underscore decoration for visibility attribute
13 years ago
Yang Tse
34d5d76969
configure: fix symbol hiding usability check
...
A more thorough test is done now in order to determine visibility attribute
usability, given that some compilers don't support visibility attribute on
all configurations.
13 years ago
Yang Tse
a94b4e53d1
cares-compilers.m4: CARES_CONVERT_INCLUDE_TO_ISYSTEM adjustments
...
Add CARES_CHECK_COMPILER as a requirement.
Ensure macro does nothing unless GNU_C or CLANG compiler is used.
This should allow usage of this macro in unforeseen placements.
14 years ago
Yang Tse
45ec020795
xlc: avoid preprocessor definition usage when linking
14 years ago
Yang Tse
618e34bcf6
configure: undo using autobuilds to temporarily verify strict aliasing warnings.
14 years ago
Yang Tse
4d44b54c75
configure: use autobuilds to temporarily verify strict aliasing warnings.
...
Temporarily, When cross-compiling with gcc 3.0 or later, enable strict aliasing
rules and warnings. Given that cross-compiled targets autobuilds do not run the
test-suite, there is no risk of running code that violates strict aliasing rules
14 years ago
Daniel Johnson
25116bbc54
Fix warnings for clang
15 years ago
Yang Tse
7ce764fe7c
replaced intel compiler option -no-ansi-alias with -fno-strict-aliasing
15 years ago
Daniel Stenberg
0a076df87f
Daniel Johnson provided fixes for building with the clang compiler
15 years ago
Yang Tse
cf38264e2a
Add icc fvisibility bug test
15 years ago
Yang Tse
d101880c6a
Undo old temporary change once used for testing purposes
15 years ago
Yang Tse
f77839ed17
Symbol hiding configure options renamed to the hopefully less ambiguous
...
15 years ago
Yang Tse
4cb3aa4080
External API function linkage decoration adjustment
15 years ago
Yang Tse
9cac6a4625
Initial step towards the ability to reduce c-ares exported symbols
...
based on the 'visibility' attribute for GNUC and __global for Sun
compilers, taking also in account __declspec function decoration
for Win32 and Symbian DLL's.
Introducing configure options --enable-hidden-symbols and
--disable-hidden-symbols following libcurl's naming.
15 years ago
Gunter Knauf
8ddea4e287
test if adding ../lib to includes can fix the current break ...
16 years ago
Gunter Knauf
e391db0ef9
renamed generated config.h to ares_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h.
16 years ago
Yang Tse
7fcd022b2a
c-ares' --enable-debug --enable-curldebug decoupling follow-up
16 years ago
Yang Tse
80d4f1170c
c-ares' -no-undefined and --enable-curldebug adjustments
16 years ago
Yang Tse
96f34988f4
c-ares' --enable-curldebug adjustments
16 years ago
Yang Tse
388e389638
Allow curl debug memory tracking when building a shared library on
...
systems which support external, undefined, symbols in shared libraries.
16 years ago
Yang Tse
84aa2f8a5d
c-ares's --enable-curldebug configure option decoupled from c-ares's --enable-debug
16 years ago
Yang Tse
4b5589ab99
remove outdated comment
16 years ago
Yang Tse
78e9ec92b7
Proper naming for the experimental compiler test and moved to *-compilers.m4
16 years ago
Yang Tse
411a7e17a1
Moved *_CHECK_COMPILER_HALT_ON_ERROR and *_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE to *-compilers.m4 along with other *_CHECK_COMPILER_*
16 years ago
Yang Tse
51ecfc023a
remove compiler options used while debugging the icc 9.1 optimizer issue
16 years ago
Yang Tse
ed9f1219a5
Set HP-UX compiler warning level back to the one that exposes
...
the socklen_t issue on this platform.
16 years ago
Yang Tse
ca44947b99
attempting to keep lines below 80 chars
16 years ago
Yang Tse
c81480a998
icc adjustments:
...
Select ANSI C89 dialect plus GNU extensions, again.
16 years ago
Yang Tse
88398b5e3a
some more temporary magic for the icc seg-fault issue
16 years ago
Yang Tse
7735d91fc5
icc permanent adjustment:
...
Select precise floating-point model, otherwise doubles are less than 64-bit wide
icc test adjustment:
Select c89 dialect
16 years ago
Yang Tse
4d8bb08bfe
icc adjustments:
...
Enable more icc warnings.
Optimization disabling options used only for icc 9.1
16 years ago
Yang Tse
0e13792289
some more temporary magic for the icc seg-fault issue
16 years ago
Yang Tse
f5a8f8c6ac
some more temporary magic for the icc seg-fault issue
16 years ago
Yang Tse
e1b2f2eff4
some more temporary magic for the icc seg-fault issue
16 years ago
Yang Tse
6444711a2e
messages initially intended only for debug purposes, now become permanent
...
since these are extremely useful when compiler rejects a set of options.
16 years ago
Yang Tse
6642bc38df
fix missing double-quotes
16 years ago
Yang Tse
f5840c42bd
some more temporary magic for the icc seg-fault issue
16 years ago
Yang Tse
4037d01c3e
Ensure that shell variable contents which have active meaning
...
to the shell echo command are not interpreted when trying to
remove extra whitespace from shell variable content.
16 years ago
Yang Tse
bd0e2f9f8c
Adjust Watcom C warnings:
...
Disable warnings on structure members padding.
16 years ago
Yang Tse
40f09170d6
Adjust Tiny C basic options:
...
Remove -b from debug-enabled configuration, as Tiny C might have
been built without the memory and bounds checker support.
16 years ago
Yang Tse
7444d55a7f
Adjust GCC warnings:
...
Better disable following warnings when cross-compiling with a gcc older
than 3.0, to avoid warnings from third party system headers:
-Wmissing-declarations
-Wmissing-prototypes
-Wunused
-Wshadow
16 years ago
Yang Tse
7e94946102
fix syntax error
16 years ago
Yang Tse
5abbce8c5b
Initial attempt to detect Watcom C compiler
16 years ago
Yang Tse
8d7e608c02
make naming scheme more consistent across whole file
16 years ago
Yang Tse
b5989fe355
Adjust GCC warnings:
...
Disable following warnings when cross-compiling with a gcc older
than 3.0, to avoid warnings from third party system headers:
-Wmissing-prototypes
-Wunused
-Wshadow
16 years ago
Yang Tse
9bd2d8ef8e
Adjust GCC --enable-warnings:
...
Do not enable -pedantic when cross-compiling with a gcc older
than 3.0, to avoid warnings from third party system headers.
16 years ago
Yang Tse
a5cd95981d
adjust SGI MIPSpro C detection
16 years ago
Yang Tse
3af497d2e0
LCC compiler adjustments:
...
Highest warning level is double -A, next is single -A.
Due to the big number of warnings these trigger on third
party header files it is impratical for us to use any of
them here. If you want them simply define it in CPPFLAGS.
16 years ago
Yang Tse
959cba0810
remove extra space
16 years ago
Yang Tse
301c994b00
split SGI compiler check. One for MIPS C and another for MIPSpro C
16 years ago