From 861360c65f4d73fce519c36de173e2163de726b2 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 23 Nov 2017 13:25:57 +0100 Subject: [PATCH] [CRT/STARTUP] For some reason we get unresolved external symbol ___globallocalestatus when compiling with clang-cl. CORE-11799 CORE-14042 (#94) --- sdk/lib/crt/startup/crtexe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/lib/crt/startup/crtexe.c b/sdk/lib/crt/startup/crtexe.c index 1bd193bedff..87da3dae394 100644 --- a/sdk/lib/crt/startup/crtexe.c +++ b/sdk/lib/crt/startup/crtexe.c @@ -128,10 +128,11 @@ pre_c_init (void) { __setusermatherr (_matherr); } - +#ifndef __clang__ /* FIXME: CORE-14042 */ if (__globallocalestatus == -1) { } +#endif return 0; }