diff options
author | Audun Wilhelmsen <skyfex@gmail.com> | 2014-03-18 21:23:35 +0100 |
---|---|---|
committer | Audun Wilhelmsen <skyfex@gmail.com> | 2014-03-18 21:23:35 +0100 |
commit | ca228e46b56d98204f8976009a6f4f827008df53 (patch) | |
tree | c89f246fedd603157d87970b8f03238c591b5062 /compiler/extccomp.nim | |
parent | 1e45bb79ab4beb7a027b403bd78e879975b09963 (diff) | |
download | Nim-ca228e46b56d98204f8976009a6f4f827008df53.tar.gz |
Fix compilation error when using packed pragma with vcc.
Diffstat (limited to 'compiler/extccomp.nim')
-rw-r--r-- | compiler/extccomp.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/extccomp.nim b/compiler/extccomp.nim index 02e15f232..f0e5dad11 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}) |