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 compilation error in my_x11_xevent.c (#1938) and dynarec_rv64_helper.c #1952

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

devarajabc
Copy link
Contributor

Resolved a compilation error due to variable declaration within a switch-case statement without enclosing braces.
This error occurred with older GCC compilers, which require declarations to be part of a block within switch-case constructs.

src/libtools/my_x11_xevent.c Outdated Show resolved Hide resolved
Fixed compilation errors related to variable declarations within
switch-case statements without enclosing braces. This adjustment
ensures compatibility with older versions of compiler.

Resolves: ptitSeb#1938
@ptitSeb
Copy link
Owner

ptitSeb commented Oct 22, 2024

A thanks. I'm using modern gcc only, so I didn't noticed this until it was too late...

@ptitSeb ptitSeb merged commit 2c2b252 into ptitSeb:main Oct 22, 2024
23 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