diff options
author | Araq <rumpf_a@web.de> | 2014-03-30 22:40:09 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-03-30 22:40:09 +0200 |
commit | 44ee8aecfd70d1d381b5eed5ae52b01fae04452b (patch) | |
tree | 6ee617cc92a8f0ae0f3d597476fb5ea148c2974c /compiler | |
parent | aae774a2799232941be4791a40e1913507281e8e (diff) | |
download | Nim-44ee8aecfd70d1d381b5eed5ae52b01fae04452b.tar.gz |
disable extern name checking as it breaks building of nimrtl.dll
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/pragmas.nim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/pragmas.nim b/compiler/pragmas.nim index 692f4bac6..14d155539 100644 --- a/compiler/pragmas.nim +++ b/compiler/pragmas.nim @@ -111,8 +111,9 @@ proc validateExternCName(s: PSym, info: TLineInfo) = proc makeExternExport(s: PSym, extname: string, info: TLineInfo) = setExternName(s, extname) - if gCmd in {cmdCompileToC, cmdCompileToCpp, cmdCompileToOC}: - validateExternCName(s, info) + # XXX to fix make it work with nimrtl. + #if gCmd in {cmdCompileToC, cmdCompileToCpp, cmdCompileToOC}: + # validateExternCName(s, info) incl(s.flags, sfExportc) proc processImportCompilerProc(s: PSym, extname: string) = |