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

Fixed Windows MSVC Compilation #6096

Closed
wants to merge 1 commit into from
Closed

Conversation

Deacon8
Copy link

@Deacon8 Deacon8 commented Mar 16, 2024

Quick and ugly fix.

MSVC only allows for a certain number of nested if's.

Since else-if's count as nested, moving the affected branch up one else-if position is enough for compilation.

Not very sustainable moving forward though, so some refactoring would probably be good.

fixes #6093

@ggerganov
Copy link
Owner

Superseded by #6101

@ggerganov ggerganov closed this Mar 16, 2024
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.

Compilation fails with Cmake on Windows (since #5970): error C1061
2 participants