aboutsummaryrefslogtreecommitdiff
path: root/m4/curl-compilers.m4
AgeCommit message (Collapse)Author
2013-09-07configure: improve CURL_CHECK_COMPILER_PROTOTYPE_MISMATCHDaniel Stenberg
The compiler test used a variable before it was assigned when it tried to see how it acts on a mismatching prototype, which could cause a false positive.
2013-03-08configure: use XC_LIBTOOL for portability across libtool versionsYang Tse
2013-01-20configure: autotools compatibility fixes - step IYang Tse
Fix proper macro expansion order across autotools versions for C compiler and preprocessor program checks.
2012-12-16configure: check if compiler halts on function prototype mismatchYang Tse
2012-11-16autoconf: don't force-disable compiler debug optionDaniel Stenberg
When nothing is told to configure, we should not enforce switching off debug options with -g0 (or similar). We instead don't use -g at all in that situaion and therefore allow the user's CFLAGS settings possibly dictate what to do.
2012-06-29curl-compilers.m4: remove -Wstrict-aliasing=3 from clangYang Tse
Currently it is unknown if there is any version of clang that actually supports -Wstrict-aliasing. What is known is that there are several that don't support it.
2012-06-26curl-compilers.m4: -Wstrict-aliasing=3 for warning enabled gcc and clang buildsYang Tse
2012-04-16curl-compilers.m4: -Wno-pedantic-ms-format for Windows gcc 4.5 buildsYang Tse
When building a Windows target with gcc 4.5 or newer and strict compiler warnings enabled use -Wno-pedantic-ms-format in addition to other flags.
2012-04-14headers: surround GCC attribute names with double underscoresJonathan Nieder
This protects from attribute names being defined by third party's code. Improvement: http://curl.haxx.se/mail/lib-2012-04/0127.html
2012-04-11build adjustments: CURL_HIDDEN_SYMBOLS no longer defined in config filesYang Tse
configure script now provides conditional definitions for Makefile.am that result in CURL_HIDDEN_SYMBOLS being defined by resulting makefiles when appropriate. Additionally, configure script option for symbol hiding control is now named --enable-symbol-hiding --disable-symbol-hiding. While still valid, old option name --enable-hidden-symbols --disable-hidden-symbols will be deprecated in some future release.
2011-08-08curl-compilers.m4: serial number bumpYang Tse
2011-08-08curl-compilers.m4: CURL_CONVERT_INCLUDE_TO_ISYSTEM adjustments:Yang Tse
Add CURL_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.
2011-06-04xlc: avoid preprocessor definition usage when linkingYang Tse
2010-12-02configure: undo using autobuilds to temporarily verify strict aliasing warnings.Yang Tse
2010-11-18configure: use autobuilds to temporarily verify strict aliasing warnings.Yang Tse
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
2010-11-09serial number bumpYang Tse
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-03-22Fix warnings for clangDaniel Johnson
2010-03-17replaced intel compiler option -no-ansi-alias with -fno-strict-aliasingYang Tse
2010-03-05Daniel Johnson provided fixes for building with the clang compilerDaniel Stenberg
2009-06-17Added a few more compiler warning options for gcc.Dan Fandrich
2009-06-09Added --enable-curldebug configure option to enable and disable buildingYang Tse
with the low-level curl debug memory tracking 'feature' to allow decoupled setting from --enable-debug.
2009-05-15remove outdated commentYang Tse
2009-05-07Proper naming for the experimental compiler test and moved to *-compilers.m4Yang Tse
2009-05-07Moved *_CHECK_COMPILER_HALT_ON_ERROR and ↵Yang Tse
*_CHECK_COMPILER_ARRAY_SIZE_NEGATIVE to *-compilers.m4 along with other *_CHECK_COMPILER_*
2009-04-17remove compiler options used while debugging the icc 9.1 optimizer issueYang Tse
2009-04-15Set HP-UX compiler warning level back to the one that exposesYang Tse
the socklen_t issue on this platform.
2008-11-18attempting to keep lines below 80 charsYang Tse
2008-11-17Added more compiler warning options for gcc 4.3Dan Fandrich
2008-10-25icc adjustments:Yang Tse
Select ANSI C89 dialect plus GNU extensions, again.
2008-10-24some more temporary magic for the icc seg-fault issueYang Tse
2008-10-24icc permanent adjustment:Yang Tse
Select precise floating-point model, otherwise doubles are less than 64-bit wide icc test adjustment: Select c89 dialect
2008-10-23icc adjustments:Yang Tse
Enable more icc warnings. Optimization disabling options used only for icc 9.1
2008-10-22some more temporary magic for the icc seg-fault issueYang Tse
2008-10-21some more temporary magic for the icc seg-fault issueYang Tse
2008-10-20some more temporary magic for the icc seg-fault issueYang Tse
2008-10-19messages initially intended only for debug purposes, now become permanentYang Tse
since these are extremely useful when compiler rejects a set of options.
2008-10-17fix missing double-quotesYang Tse
2008-10-16some more temporary magic for the icc seg-fault issueYang Tse
2008-10-15Ensure that shell variable contents which have active meaningYang Tse
to the shell echo command are not interpreted when trying to remove extra whitespace from shell variable content.
2008-10-14Adjust Watcom C warnings:Yang Tse
Disable warnings on structure members padding.
2008-10-14Adjust Tiny C basic options:Yang Tse
Remove -b from debug-enabled configuration, as Tiny C might have been built without the memory and bounds checker support.
2008-10-14Adjust GCC warnings:Yang Tse
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
2008-10-14fix syntax errorYang Tse
2008-10-14Initial attempt to detect Watcom C compilerYang Tse
2008-10-13make naming scheme more consistent across whole fileYang Tse
2008-10-13Adjust GCC warnings:Yang Tse
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
2008-10-13Adjust GCC --enable-warnings:Yang Tse
Do not enable -pedantic when cross-compiling with a gcc older than 3.0, to avoid warnings from third party system headers.
2008-10-12adjust SGI MIPSpro C detectionYang Tse
2008-10-12LCC compiler adjustments:Yang Tse
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.