From 8a70c7a124624ac1d2a5125497bf9a76556e8b11 Mon Sep 17 00:00:00 2001 From: solar Date: Sun, 4 Dec 2005 16:48:12 +0000 Subject: [PATCH] Removed #warning lines (only #error is defined by the standard). --- includes/string.h | 5 ----- internals/_PDCLIB_aux.h | 5 ++--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/includes/string.h b/includes/string.h index c63bab8..f6f3e5d 100644 --- a/includes/string.h +++ b/includes/string.h @@ -21,11 +21,6 @@ #include <_PDCLIB_int.h> #endif -#if _PDCLIB_HOSTED == 1 -#warning As of the current release, PDCLib is not a conforming hosted environment. -#warning is not standard-compliant (yet) - strerror is missing. -#endif - typedef _PDCLIB_size_t size_t; #define NULL _PDCLIB_NULL diff --git a/internals/_PDCLIB_aux.h b/internals/_PDCLIB_aux.h index 8c4e897..be39eb2 100644 --- a/internals/_PDCLIB_aux.h +++ b/internals/_PDCLIB_aux.h @@ -35,7 +35,7 @@ #endif #ifndef __STDC_HOSTED__ -#warning Compiler does not define _ _STDC_HOSTED_ _ (not standard-compliant)! +#error Compiler does not define _ _STDC_HOSTED_ _ (not standard-compliant)! #elif __STDC_HOSTED__ == 0 #define _PDCLIB_HOSTED 0 #elif __STDC_HOSTED__ == 1 @@ -45,8 +45,7 @@ #endif #if _PDCLIB_C_VERSION != 99 -#warning Up to and including v1.x, PDCLib is only aiming at ISO/IEC 9899:1999 (C99). -#warning PDCLib might not be fully conforming to either C89 or C95 prior to v2.x. +#error PDCLib might not be fully conforming to either C89 or C95 prior to v2.x. #endif /* -------------------------------------------------------------------------- */ -- 2.40.0