From ca228e46b56d98204f8976009a6f4f827008df53 Mon Sep 17 00:00:00 2001 From: Audun Wilhelmsen Date: Tue, 18 Mar 2014 21:23:35 +0100 Subject: [PATCH] Fix compilation error when using packed pragma with vcc. --- compiler/extccomp.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 02e15f232b..f0e5dad119 100644 --- a/compiler/extccomp.nim +++ b/compiler/extccomp.nim @@ -119,7 +119,7 @@ compiler vcc: debug: " /GZ /Zi ", pic: "", asmStmtFrmt: "__asm{$n$1$n}$n", - structStmtFmt: "$3$#1 $2", + structStmtFmt: "$3$n$1 $2", packedPragma: "#pragma pack(1)", props: {hasCpp, hasAssume, hasNakedDeclspec})