From: Vadim Zeitlin Date: Sun, 12 Feb 2006 13:55:19 +0000 (+0000) Subject: don't use #error as some compilers ignore it; provoke a real compile error instead X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/27237c37081d165eba907ff3f9f77e8126037ca3 don't use #error as some compilers ignore it; provoke a real compile error instead git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/build/aclocal/bakefile.m4 b/build/aclocal/bakefile.m4 index 83cf7a32d7..b221ec0464 100644 --- a/build/aclocal/bakefile.m4 +++ b/build/aclocal/bakefile.m4 @@ -287,7 +287,7 @@ AC_DEFUN([AC_BAKEFILE_SHARED_LD], AC_TRY_COMPILE([], [ #ifndef __INTEL_COMPILER - #error Not ICC + This is not ICC #endif ], bakefile_cv_prog_icc=yes, @@ -329,7 +329,7 @@ AC_DEFUN([AC_BAKEFILE_SHARED_LD], [ #if (__GNUC__ < 3) || \ ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1)) - #error old gcc + This is old gcc #endif ], [ @@ -673,16 +673,16 @@ AC_DEFUN([AC_BAKEFILE_PRECOMP_HEADERS], AC_TRY_COMPILE([], [ #if !defined(__GNUC__) || !defined(__GNUC_MINOR__) - #error "no pch support" + There is no PCH support #endif #if (__GNUC__ < 3) - #error "no pch support" + There is no PCH support #endif #if (__GNUC__ == 3) && \ ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \ ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \ ( defined(__INTEL_COMPILER) ) - #error "no pch support" + There is no PCH support #endif ], [ @@ -694,7 +694,7 @@ AC_DEFUN([AC_BAKEFILE_PRECOMP_HEADERS], [ #if !defined(__INTEL_COMPILER) || \ (__INTEL_COMPILER < 800) - #error "no pch support" + There is no PCH support #endif ], [