-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot handle file names with special characters properly #425
Comments
I met the error when compiling using the mingw compiler in the package manager Scoop. The Executables and Library files found in the directory: PS D:\Scoop\apps\mingw\current\bin> ls
Directory: D:\Scoop\apps\mingw\current\bin
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 2023-10-17 3:16 1178112 addr2line.exe
-a---- 2023-10-17 3:16 1205248 ar.exe
-a---- 2023-10-17 3:16 1817600 as.exe
-a---- 2023-10-17 6:07 2618880 c++.exe
-a---- 2023-10-17 3:16 1175552 c++filt.exe
-a---- 2023-10-17 6:07 2616832 cpp.exe
-a---- 2023-10-17 3:16 1234432 dlltool.exe
-a---- 2023-10-17 3:16 75776 dllwrap.exe
-a---- 2023-10-17 3:16 2499584 dwp.exe
-a---- 2023-10-17 3:16 63488 elfedit.exe
-a---- 2023-10-17 6:07 2618880 g++.exe
-a---- 2023-10-17 6:07 61952 gcc-ar.exe
-a---- 2023-10-17 6:07 61952 gcc-nm.exe
-a---- 2023-10-17 6:07 61952 gcc-ranlib.exe
-a---- 2023-10-17 6:07 2615296 gcc.exe
-a---- 2023-10-17 6:07 1863168 gcov-dump.exe
-a---- 2023-10-17 6:07 1861632 gcov-tool.exe
-a---- 2023-10-17 6:07 2040320 gcov.exe
-a---- 2023-10-17 7:23 4587 gdb-add-index
-a---- 2023-10-17 7:23 59684 gdb.exe
-a---- 2023-10-17 7:23 9945600 gdborig.exe
-a---- 2023-10-17 7:23 400896 gdbserver.exe
-a---- 2023-10-17 6:09 60416 gendef.exe
-a---- 2023-10-17 6:09 74240 genidl.exe
-a---- 2023-10-17 6:09 31232 genpeimg.exe
-a---- 2023-10-17 6:07 2617856 gfortran.exe
-a---- 2023-10-17 3:16 1242112 gprof.exe
-a---- 2023-10-17 3:16 1746944 ld.bfd.exe
-a---- 2023-10-17 3:16 1746944 ld.exe
-a---- 2023-10-17 3:16 4756480 ld.gold.exe
-a---- 2023-10-17 6:08 32768 libatomic-1.dll
-a---- 2023-10-17 6:08 111616 libgcc_s_seh-1.dll
-a---- 2023-10-17 6:08 3118080 libgfortran-5.dll
-a---- 2023-10-17 6:08 280576 libgomp-1.dll
-a---- 2023-10-17 6:08 362496 libquadmath-0.dll
-a---- 2023-10-17 6:08 2246144 libstdc++-6.dll
-a---- 2023-10-17 6:08 54784 libwinpthread-1.dll
-a---- 2023-10-17 6:07 32673280 lto-dump.exe
-a---- 2023-10-17 7:24 270336 make.exe
-a---- 2023-10-17 7:24 270336 mingw32-make.exe
-a---- 2023-10-17 3:16 1194496 nm.exe
-a---- 2023-10-17 3:16 1312256 objcopy.exe
-a---- 2023-10-17 3:16 2415104 objdump.exe
-a---- 2023-10-17 3:16 1205248 ranlib.exe
-a---- 2023-10-17 3:16 1002496 readelf.exe
-a---- 2023-10-17 3:16 1178112 size.exe
-a---- 2023-10-17 3:16 1182208 strings.exe
-a---- 2023-10-17 3:16 1312256 strip.exe
-a---- 2023-10-17 6:10 530432 widl.exe
-a---- 2023-10-17 3:16 1200640 windmc.exe
-a---- 2023-10-17 3:16 1290752 windres.exe
-a---- 2023-10-17 6:07 2618880 x86_64-w64-mingw32-c++.exe
-a---- 2023-10-17 6:07 2618880 x86_64-w64-mingw32-g++.exe
-a---- 2023-10-17 6:07 2615296 x86_64-w64-mingw32-gcc-13.2.0.exe
-a---- 2023-10-17 6:07 61952 x86_64-w64-mingw32-gcc-ar.exe
-a---- 2023-10-17 6:07 61952 x86_64-w64-mingw32-gcc-nm.exe
-a---- 2023-10-17 6:07 61952 x86_64-w64-mingw32-gcc-ranlib.exe
-a---- 2023-10-17 6:07 2615296 x86_64-w64-mingw32-gcc.exe
-a---- 2023-10-17 6:07 2617856 x86_64-w64-mingw32-gfortran.exe
PS D:\Scoop\apps\mingw\current\bin> |
I have seen this issue happening very rarely ,when clicking run option more than one time consecutively. |
Yes, but the error is only on the faulty file, and the other files compile normally. |
Under the same compilation environment, files with character
Σ
in the file name automatically created by Competitive Companion cannot be compiled and tested properly.Pop-up error message:
Could not launch testcase process. Is 'g++' in your PATH?
The prob file .cph/.C_Σ.cpp_dff3a7f9af8ab0b10eadb767a68213c6.prob
Extension Version:
v6.1.0
VS Code Version:
1.87.2
Browser Version:
Microsoft Edge - Version 122.0.2365.92 (Official build) (64-bit)
Operating System:
Microsoft Windows 11 Home 10.0.22631
The text was updated successfully, but these errors were encountered: