[libc-commits] [libc] [libc] Silence `-Winconsistent-dllimport` on Windows (PR #191560)
Hans Wennborg via libc-commits
libc-commits at lists.llvm.org
Mon Apr 13 02:00:56 PDT 2026
================
@@ -12,12 +12,20 @@
#include "rpc.h"
#include "rpc_util.h"
+#ifndef RPC_TARGET_IS_GPU
+#include <cstdlib>
----------------
zmodem wrote:
I don't know enough about this code to say whether this include would be allowed, but since this is part of a libc implementation, I'm worried maybe it's not.
https://github.com/llvm/llvm-project/pull/191560
More information about the libc-commits
mailing list