]> pd.if.org Git - pdclib/commitdiff
Removed #warning lines (only #error is defined by the standard).
authorsolar <unknown>
Sun, 4 Dec 2005 16:48:12 +0000 (16:48 +0000)
committersolar <unknown>
Sun, 4 Dec 2005 16:48:12 +0000 (16:48 +0000)
includes/string.h
internals/_PDCLIB_aux.h

index c63bab8dff7ba01b66eae343329542b4f330115c..f6f3e5db701faa522077217897b7eb9c4af1a569 100644 (file)
 #include <_PDCLIB_int.h>
 #endif
 
-#if _PDCLIB_HOSTED == 1
-#warning As of the current release, PDCLib is not a conforming hosted environment.
-#warning <string.h> is not standard-compliant (yet) - strerror is missing.
-#endif
-
 typedef _PDCLIB_size_t size_t;
 
 #define NULL _PDCLIB_NULL
index 8c4e897003e7e25c13f58c26bd3af274fa4d164f..be39eb21063a5e229f9b9b7fc2ece2ad1c6700ec 100644 (file)
@@ -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
 
 /* -------------------------------------------------------------------------- */