mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
disable extern name checking as it breaks building of nimrtl.dll
This commit is contained in:
@@ -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) =
|
||||
|
||||
Reference in New Issue
Block a user