diff --git a/README.md b/README.md index b9e92d81..6c9e5679 100644 --- a/README.md +++ b/README.md @@ -5121,20 +5121,6 @@ NOTE: The last two cases are not properly fully supported yet. Throwing an exception is not fully supported yet. -##### void M\_INIT\_FAILURE (void) - -This macro is called when an initialization error has been detected and shall be raised. -The default is to abort the execution. -The macro can : - -* abort the execution, -* throw an exception (In this case, the state of the object is unchanged), -* set a global error variable and return. - -NOTE: The last case is not currently supported. -Throwing an exception is not fully supported yet. - - ##### void M\_ASSERT\_INIT\_FAILURE(expression) This macro is called when an assertion used in an initialization context diff --git a/m-core.h b/m-core.h index ee760454..7f0620c3 100644 --- a/m-core.h +++ b/m-core.h @@ -2392,14 +2392,6 @@ m_core_hash (const void *str, size_t length) } while (0) #endif -#ifndef M_INIT_FAILURE -#define M_INIT_FAILURE() do { \ - fprintf(stderr, "ERROR(M*LIB): Can not initialize data in (%s:%s:%d).\n", \ - __FILE__, __func__, __LINE__); \ - abort(); \ - } while (0) -#endif - #ifndef M_ASSERT_INIT #define M_ASSERT_INIT(expr) do { \ if (!(expr)) { \