make the vccexe helper tool compile again

This commit is contained in:
Araq 2018-08-13 15:42:20 +02:00
commit 46204eba1f
2 changed files with 7 additions and 7 deletions

View file

@ -19,7 +19,7 @@ proc getVsComnToolsPath*(): TaintedString =
return vsComnToolsEnvVal
proc getVccEnv*(platform: string, windowsStoreSdk: bool = false,
sdkVersion: string = nil): StringTableRef =
sdkVersion: string = ""): StringTableRef =
var comSpecCommandString = getEnv comSpecEnvKey
if comSpecCommandString.len == 0:
comSpecCommandString = "cmd"

View file

@ -34,8 +34,8 @@ Microsoft C/C++ compiler for the specified SDK toolset
"""
when isMainModule:
var platformArg: string = nil
var sdkVersionArg: string = nil
var platformArg: string = ""
var sdkVersionArg: string = ""
var storeArg: bool = false
var clArgs: seq[TaintedString] = @[]