The default path in windows seems to be minGW64bin in windows but that doesn’t work in Linux, by default the compiler path in Linux (at least in arch linux) is /bin/clang .
Pretty easy to fix just change the .vscode file in your C/C++ code file to the linux directory clang.
The issue remains that you can’t commit with source control in GitHub and later use windows to continue coding without any issue.
[ad_2]
source