diff --git a/src/hb-unicode.cc b/src/hb-unicode.cc index cf2032fd63c53ab9f5381c2e710a0f86f04ac1f7..6b32faf667fbd98539b59e1ceecb5fae0ac60d16 100644 --- a/src/hb-unicode.cc +++ b/src/hb-unicode.cc @@ -146,14 +146,9 @@ hb_unicode_funcs_get_default (void) } #if !defined(HB_NO_UNICODE_FUNCS) && defined(HB_UNICODE_FUNCS_NIL) -#ifdef _MSC_VER -#pragma error("Could not find any Unicode functions implementation, you have to provide your own.") -#pragma error("Consider building hb-ucdn.c. If you absolutely want to build without any, check the code.") -#else #error "Could not find any Unicode functions implementation, you have to provide your own" #error "Consider building hb-ucdn.c. If you absolutely want to build without any, check the code." #endif -#endif /** * hb_unicode_funcs_create: (Xconstructor) diff --git a/src/hb-warning.cc b/src/hb-warning.cc index e69fff234cd5b9ffd433c4f9ff66108d79a96595..8f322bcb10dae012e5cb2dd04ddbb62173305cce 100644 --- a/src/hb-warning.cc +++ b/src/hb-warning.cc @@ -29,21 +29,11 @@ #if defined(HB_ATOMIC_INT_NIL) -#ifdef _MSC_VER -#pragma error("Could not find any system to define atomic_int macros, library WILL NOT be thread-safe") -#pragma error("Check hb-atomic-private.hh for possible resolutions.") -#else #error "Could not find any system to define atomic_int macros, library WILL NOT be thread-safe" #error "Check hb-atomic-private.hh for possible resolutions." #endif -#endif #if defined(HB_MUTEX_IMPL_NIL) -#ifdef _MSC_VER -#pragma error("Could not find any system to define mutex macros, library WILL NOT be thread-safe") -#pragma error("Check hb-mutex-private.hh for possible resolutions.") -#else #error "Could not find any system to define mutex macros, library WILL NOT be thread-safe" #error "Check hb-mutex-private.hh for possible resolutions." #endif -#endif