Skip to content

Conversation

ssaue
Copy link
Contributor

@ssaue ssaue commented Oct 7, 2025

What is the goal of this PR?

The Visual Studio compiler fails with an exception when running with maximum optimization (default for release builds). This is a regression in the compiler, but it is not likely that it will be fixed anytime soon. Currently this is a show-stopper for building SAF with Visual Studio on Windows.

What are the changes implemented in this PR?

By simply adding a couple of parentheses without any change in the logic, the compiler is happy.

@ssaue
Copy link
Contributor Author

ssaue commented Oct 7, 2025

The issue that motivated this PR could also explain why the Windows CMake workflow had to be disabled. I suggest enabling it again after merging this PR.

@danielmda
Copy link

Closes #74

@jananifernandez jananifernandez changed the base branch from master to develop October 9, 2025 16:26
@jananifernandez jananifernandez merged commit 87bcef3 into leomccormack:develop Oct 9, 2025
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