From 8b972f2ed6b3c3f4a775f72bcc512f337fb60084 Mon Sep 17 00:00:00 2001 From: Ilia Filippov Date: Tue, 26 Nov 2013 17:08:06 +0400 Subject: [PATCH] Changing error to warning: mismatch in size/layout of global variable --- module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module.cpp b/module.cpp index 1afc5a0b..6006ea34 100644 --- a/module.cpp +++ b/module.cpp @@ -2104,7 +2104,7 @@ lAddExtractedGlobals(llvm::Module *module, // example, this happens with varying globals if we compile // to different vector widths. if (gv2->getType() != gv->getType()) - Error(rgi.pos, "Mismatch in size/layout of global " + Warning(rgi.pos, "Mismatch in size/layout of global " "variable \"%s\" with different targets. " "Globals must not include \"varying\" types or arrays " "with size based on programCount when compiling to "