-
Notifications
You must be signed in to change notification settings - Fork 92
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
Issues with path separators on Windows #178
Labels
Comments
I can't reproduce this since it would involve me setting up MSYS2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello
It seems that on Windows, at least when running Emacs/CMake within MSYS2, the
flycheck-clang-*
options fail to be set (They're allnil
) because of issues with mixed path separators. Theidb
hash table contains keys using\\
separators, whereas the variablefile-name
in the functioncide--idb-file-to-obj
uses/
separators.As a quick-n-dirty solution for now, I've just put in a regex replace in that function and all seems to be working.
CMake ide version: 20180713.1513
Emacs version: 26.1 (From the mingw-w64-x86_64-emacs package from MSYS2)
Pile of configs courtesy of Spacemacs
Value of
cmake-ide-cmake-opts
:"-G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++"
The text was updated successfully, but these errors were encountered: