Skip to content
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

fix MSVC 19.40 build crashing, fix clangd warnings #386

Merged
merged 6 commits into from
Jun 27, 2024

Conversation

estebanfer
Copy link
Contributor

Fixed latest MSVC build crashing when it injects to spelunky (the MSVC version now used for playlunky autobuild)
Fixed warning -Wdeprecated-this-capture

@estebanfer
Copy link
Contributor Author

Updating clang to the version used gives me errors completely unrelated to the one in CI :/

@Mr-Auto
Copy link
Contributor

Mr-Auto commented Jun 14, 2024

Updating clang to the version used gives me errors completely unrelated to the one in CI :/

Typical at this point

@estebanfer
Copy link
Contributor Author

estebanfer commented Jun 15, 2024

Seems like clang made an oopsie in clang 18 and we'll have to wait til the new release that fixes it is out for the CI ThePhD/sol2#1581
Or we could apply the workaround mentioned there in some fork too

@estebanfer
Copy link
Contributor Author

how do I retry the CI? the new clang version is out

@Mr-Auto
Copy link
Contributor

Mr-Auto commented Jun 19, 2024

how do I retry the CI? the new clang version is out

Only mentainors can, but if you want to just try, why not make PR inside your fork?

@estebanfer
Copy link
Contributor Author

oops now I broke the CI

@estebanfer
Copy link
Contributor Author

should I also downgrade MSVC 14.39 like in Playlunky or is this fine

@Dregu
Copy link
Collaborator

Dregu commented Jun 27, 2024

Woah, green!

should I also downgrade MSVC 14.39 like in Playlunky or is this fine

I guess it doesn't matter as long as this code builds and works on both versions?

@estebanfer
Copy link
Contributor Author

Playlunky didn't seem to work on 14.40 by applying this same fix of _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR, while OL did work. Maybe could be somehow fixed in PL but I couldn't figure out how, I still got the mutex crashes

@estebanfer
Copy link
Contributor Author

Ideally the clang downgrade step would be removed once it gets updated with the bugfixes, if it compiles after that

@Dregu
Copy link
Collaborator

Dregu commented Jun 27, 2024

I guess I should merge this then and we'll see what it takes to get spelunky-fyi/Playlunky#53 building next.

@Dregu Dregu merged commit 1536e5b into spelunky-fyi:main Jun 27, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants