I tested master on a windows system that didn't have any MSVC tools
installed and I got:

  File
"C:\Users\dmmoody\Workspace\scons\src\engine\SCons\Tool\MSCommon\vc.py",
line 307, in find_vc_pdir_vswhere
    vc_pdir = os.path.join(vsdir[0], 'VC')
IndexError: list index out of range

when creating an environment. It seems the Popen call returns an empty
string from stdout and that gets converted to an empty list. Seems we
should do some list size checking here? Anyone else can verify?

Heres the code in github:
https://github.com/SCons/scons/blob/5e859ac7a1aee773e23679ffdeaabdd4a957cf4c/src/engine/SCons/Tool/MSCommon/vc.py#L306
_______________________________________________
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev

Reply via email to