[Openmp-commits] [openmp] [Libomptarget] Pass '-Werror=global-constructors' to the libomptarget build (PR #88531)

Michael Kruse via Openmp-commits openmp-commits at lists.llvm.org
Tue Apr 16 06:14:54 PDT 2024


================
@@ -23,6 +23,9 @@
 
 using namespace llvm;
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wglobal-constructors"
----------------
Meinersbur wrote:

Does Clang and other non-GCC compilers honor this as well?

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


More information about the Openmp-commits mailing list