llvm-project/openmp/runtime/cmake
Martin Storsjö 496ca4127e [OpenMP] Silence more warning flags
This silences warnings like these, in mingw builds with clang:

runtime/src/kmp_atomic.h:1021:13: warning: '__kmpc_atomic_cmplx8_rd' has C-linkage specified, but returns user-defined type 'kmp_cmplx64' (aka '__kmp_cmplx64_t') which is incompatible with C [-Wreturn-type-c-linkage]

runtime/src/z_Windows_NT_util.cpp:479:17: warning: cast from 'volatile void *' to 'type-parameter-0-0 *' drops volatile qualifier [-Wcast-qual]
    flag = (C *)th->th.th_sleep_loc;

runtime/src/z_Windows_NT_util.cpp:1321:14: warning: cast to 'void *' from smaller integer type 'DWORD' (aka 'unsigned long') [-Wint-to-void-pointer-cast]
  } else if ((void *)exit_val != (void *)th) {

Differential Revision: https://reviews.llvm.org/D96585
2021-02-12 21:55:32 +02:00
..
LibompCheckFortranFlag.cmake [CMake][OpenMP] Remove old dead CMake code 2020-09-07 10:56:56 +03:00
LibompCheckLinkerFlag.cmake [CMake] Bump CMake minimum version to 3.13.4 2020-07-22 14:25:07 -04:00
LibompDefinitions.cmake [OpenMP] Remove OMP spec versioning 2019-07-12 21:45:36 +00:00
LibompExports.cmake [OpenMP] Don't use MSVC workaround with MinGW 2020-08-04 18:48:25 +03:00
LibompGetArchitecture.cmake Fix openmp CMake build on non-Linux AArch64 systems. 2021-01-17 16:18:31 -08:00
LibompHandleFlags.cmake [OpenMP] Silence more warning flags 2021-02-12 21:55:32 +02:00
LibompMicroTests.cmake [OpenMP] Don't use MSVC workaround with MinGW 2020-08-04 18:48:25 +03:00
LibompUtils.cmake [OpenMP] Added the support for cache line size 256 for A64FX 2021-01-09 11:58:47 -05:00
config-ix.cmake [OpenMP] Silence more warning flags 2021-02-12 21:55:32 +02:00