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

pragma GCC diagnostic not allowed inside functions on GCC 4.4 #8

Closed
widgetii opened this issue Apr 6, 2021 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@widgetii
Copy link

widgetii commented Apr 6, 2021

I have an issue with match clause while using an ancient compiler for my embedded system:

error: #pragma GCC diagnostic not allowed inside functions

Any way to work around this?

GCC version: gcc4.4-290+uclibc_0.9.32.1+eabi+linuxpthread

@hirrolot
Copy link
Owner

hirrolot commented Apr 6, 2021

Must be fixed in e4c8e46, please update to the latest master and try again.

@hirrolot hirrolot added the bug Something isn't working label Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants