[Openmp-commits] [openmp] [openmp] Fix warnings when building on Windows with latest MSVC or Clang ToT (PR #77853)

Alexandre Ganea via Openmp-commits openmp-commits at lists.llvm.org
Sat Jan 20 10:53:15 PST 2024


================
@@ -127,8 +127,9 @@ const char *__kmp_hw_get_catalog_string(kmp_hw_t type, bool plural) {
     return ((plural) ? KMP_I18N_STR(Threads) : KMP_I18N_STR(Thread));
   case KMP_HW_PROC_GROUP:
     return ((plural) ? KMP_I18N_STR(ProcGroups) : KMP_I18N_STR(ProcGroup));
+  default:
----------------
aganea wrote:

I remove the `default` and explicitely covered all cases like you suggested

https://github.com/llvm/llvm-project/pull/77853


More information about the Openmp-commits mailing list