-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Suggestion to make the configuration able to handle windows #2855
Comments
I think in general we want to avoid people setting paths in the .compilers property. I know we have some examples and defaults doing things like Maybe instead we should make the defaults and examples reflect that and maybe pretend you can't actually point to paths directly from the compilers property. So I don't know if it's worth implementing this, also because it's a breaking change. |
The diff above isn't meant to be implemented, it's a bad idea haha My impression is that godbolt.org works on a linux env anyway, this suggestion was built on that impression, because CE would only work on a windows env when pulled and deployed locally.. where we usually define I imagine it won't be as simple as a global check on |
Yes, most of these path-taking properties don't do any splitting. And a couple of properties like path, includePath, libPath do splitting, but change behaviour when running on Windows.
It will break the Windows MSVC instances and local Windows installations if they are updated (as they use |
I wonder if something like c7af543 could be useful to try to implement properly |
Related and partially fixed by 38cf38f Like I said, I don't think we should do more that may break existing configurations. I'll close this issue until we actually encounter some more of these problems. |
Suggestion:
Working on a win32 environment had some caveats. It should be mentioned in the windows docs that the colon separator
:
conflicts with absolute windows paths, and that quoting doesn't resolve that. It needs to be overridden in the files that parse configuration (it's already overridden for library paths due to earlier issue that was resolved with #540, specifically this)An example of an override I needed to do was for the compiler absolute path:
Although this isn't ideal. What's ideal would be perhaps something along the lines of:
Originally posted by @hyphenrf in #2853 (comment)
The text was updated successfully, but these errors were encountered: