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
DEBUG_ASSERT_PURE_FUNCTION broken with GCC9 #17
Comments
For the same reason
|
Yeah, it's the same issue. I don't have access to GCC 9, so can't fix it right now. Anyone willing to do a PR changing the macro definition from |
Doesn't help. Says the attribute is ignored, but I cannot understand the message: |
Oh, right, I can use godbolt. I will figure something out. |
Thanks mate. No rush though. Workaround is good for now. |
I've just decided to remove the macro. |
Wait, I just tested this and I'm still getting the same errors for type_safe with gcc 9 on Ubuntu 16.04:
PS: Curiously, it compiles fine with gcc 9 on macOS |
Sorry for the noise, somehow my submodules were messed up, such that git showed the new version was checked out, but the file was actually still the old one... Reinitializing the submodules fixed it. |
First of all, thanks for the library!
GCC9 seems to break something with the pure attribute definition. Couldn't figure out what's the issue there. Temporary workaround is to define "DEBUG_ASSERT_PURE_FUNCTION=".
build.log
The text was updated successfully, but these errors were encountered: