This is based on
the report on wxForum, where a user using
wxStandardPaths::Get().GetExecutablePath();
in their wxWidgets application unexpectedly received a short name (the long name converted to MS-DOS 8.3 format) when running their application under the C::B debugger.
I think (maybe incorrectly) that the reason is when C::B finds a space in the debugee path, it converts it to short format to pass it to the GNU tools.
IOW, "C:/dev/cb-tests/test-paths-tdm-gcc/bin/Debug/test paths.exe" becomes "C:/dev/cb-tests/
TEST-P~2/bin/Debug/
TESTPA~1.EXE", see the details in the linked post.
It seems that C::B uses shortened path also when calling windres.
I know that (some) GCC/MinGW toolchain executables had problems with paths with spaces. But perhaps it has been fixed (AFAIK, these days many Windows volumes even do not have short-names generation on) and C::B could have a setting (e.g., in Compiler/Debugger Settings per a compiler/debugger) to not convert the paths? Or is there already a way to do that (tried 20.03 and the latest nightly) or are there still problems with spaces in paths and recent versions of GCC tools?
Thanks