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: fallthrough compile error #83

Open
wants to merge 1 commit into
base: dwa-x1850
Choose a base branch
from
Open

Conversation

dgdgksj
Copy link

@dgdgksj dgdgksj commented Mar 21, 2024

The original fallthrough macro definition caused a compile error due to its incompatible syntax in certain compiler versions.

image

This commit replaces the fallthrough macro definition with the attribute((fallthrough)) syntax, which is recognized by GCC and resolves the compilation issue.

This change ensures compatibility and prevents the "expected expression before ‘do’" error during the build process.

image

This commit replaces the fallthrough macro definition with the __attribute__((fallthrough)) syntax, which is recognized by GCC and resolves the compilation issue.
@biopsin
Copy link

biopsin commented Apr 1, 2024

closes #59

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.

2 participants