disable extern name checking as it breaks building of nimrtl.dll
This commit is contained in:
parent
aae774a279
commit
44ee8aecfd
1 changed files with 3 additions and 2 deletions
|
|
@ -111,8 +111,9 @@ proc validateExternCName(s: PSym, info: TLineInfo) =
|
||||||
|
|
||||||
proc makeExternExport(s: PSym, extname: string, info: TLineInfo) =
|
proc makeExternExport(s: PSym, extname: string, info: TLineInfo) =
|
||||||
setExternName(s, extname)
|
setExternName(s, extname)
|
||||||
if gCmd in {cmdCompileToC, cmdCompileToCpp, cmdCompileToOC}:
|
# XXX to fix make it work with nimrtl.
|
||||||
validateExternCName(s, info)
|
#if gCmd in {cmdCompileToC, cmdCompileToCpp, cmdCompileToOC}:
|
||||||
|
# validateExternCName(s, info)
|
||||||
incl(s.flags, sfExportc)
|
incl(s.flags, sfExportc)
|
||||||
|
|
||||||
proc processImportCompilerProc(s: PSym, extname: string) =
|
proc processImportCompilerProc(s: PSym, extname: string) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue