diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2021-01-15 23:56:38 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-15 18:56:38 -0800 |
commit | 78a99587a4ad8ad17a179a7992fcda8a6e10f25a (patch) | |
tree | 18a244e09f7db4636b3bd221130f36f5d5fb8b97 /tools/vccexe | |
parent | 7b632f9ccbd4d15fa9fe4ca45b6fea22b259c81d (diff) | |
download | Nim-78a99587a4ad8ad17a179a7992fcda8a6e10f25a.tar.gz |
Deprecate TaintedString (#15423)
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
Diffstat (limited to 'tools/vccexe')
-rw-r--r-- | tools/vccexe/vccexe.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/vccexe/vccexe.nim b/tools/vccexe/vccexe.nim index 1b5b2fb82..abe68c0a0 100644 --- a/tools/vccexe/vccexe.nim +++ b/tools/vccexe/vccexe.nim @@ -93,7 +93,7 @@ Options: --sdktype:<type> Specify the SDK flavor to use. Defaults to the Desktop SDK. <type>: {empty} | store | uwp | onecore --sdkversion:<v> Use a specific Windows SDK version: - <v> is either the full Windows 10 SDK version number or + <v> is either the full Windows 10 SDK version number or "8.1" to use the windows 8.1 SDK --verbose Echoes the command line for loading the Developer Command Prompt and the command line passed on to the secondary command. @@ -104,12 +104,12 @@ Microsoft (R) C/C++ Optimizing Compiler if no secondary command was specified """ -proc parseVccexeCmdLine(argseq: seq[TaintedString], +proc parseVccexeCmdLine(argseq: seq[string], vccversionArg: var seq[string], printPathArg: var bool, vcvarsallArg: var string, commandArg: var string, noCommandArg: var bool, platformArg: var VccArch, sdkTypeArg: var VccPlatformType, sdkVersionArg: var string, verboseArg: var bool, - clArgs: var seq[TaintedString]) = + clArgs: var seq[string]) = ## Cannot use usual command-line argument parser here ## Since vccexe command-line arguments are intermingled ## with the secondary command-line arguments which have @@ -160,7 +160,7 @@ when isMainModule: var sdkVersionArg: string var verboseArg: bool = false - var clArgs: seq[TaintedString] = @[] + var clArgs: seq[string] = @[] let wrapperArgs = commandLineParams() parseVccexeCmdLine(wrapperArgs, vccversionArg, printPathArg, vcvarsallArg, |