You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
V version: V full version: V 0.2.2 44e78a6 OS: windows, Microsoft Windows 10 Home Single Language v19042 64-bit
Additional potentially-useful details:
This system has MSVC and GCC compilers installed and the command is ran under Visual Studio Developers command prompt, meaning MSVC environment is on. GCC is in PATH.
What did you do?
Run make.bat
Notice how the script leaves a directory in the pushd stack.
Note:
In order to see pushd stack set the windows cmd prompt to a one that displays directory stack ($+ format specifier). An example of such prompt:
prompt $+$p$g
(copy together with the space at the end)
This will print the number of plus signs corresponding to the height of the directory stack. Running popd decreases the number of pluses, and running pushd increases the number of pluses.
If you want to reset the prompt either restart the shell or type the following command (if you used default prompt):
prompt $p$g
Note 2:
Alternative way to see this effect is to run the script from some subdirectory of the project root:
..\make.bat
And noticing that the directory after running the script is not restored.
What did you expect to see?
The height of the directory stack should be the same before and after running the make.bat script.
What did you see instead?
The script leaves the compiler root directory in the stack without popping:
c:\programs\v> ./make.bat
+c:\programs\v>
The text was updated successfully, but these errors were encountered:
V version: V full version: V 0.2.2 44e78a6
OS: windows, Microsoft Windows 10 Home Single Language v19042 64-bit
Additional potentially-useful details:
This system has MSVC and GCC compilers installed and the command is ran under Visual Studio Developers command prompt, meaning MSVC environment is on. GCC is in PATH.
What did you do?
make.bat
Note:
In order to see pushd stack set the windows cmd prompt to a one that displays directory stack (
$+
format specifier). An example of such prompt:(copy together with the space at the end)
This will print the number of plus signs corresponding to the height of the directory stack. Running
popd
decreases the number of pluses, and runningpushd
increases the number of pluses.If you want to reset the prompt either restart the shell or type the following command (if you used default prompt):
Note 2:
Alternative way to see this effect is to run the script from some subdirectory of the project root:
And noticing that the directory after running the script is not restored.
What did you expect to see?
The height of the directory stack should be the same before and after running the
make.bat
script.What did you see instead?
The script leaves the compiler root directory in the stack without popping:
The text was updated successfully, but these errors were encountered: