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
NEON64: enc: ASM build fails on gcc with dd7a2b5f31 #99
Comments
It looks like the character "R" is some kind of reserved token that I'm blanking on at the moment. Changing the macro variables to start with "A" instead of "P" in all of the macro functions fixes things. |
Ah ok it seems that "R" is a valid string literal prefix much like "L" can be for wide strings. Apparently there are others that I was unaware of like "U"/"u" and "u8" according to here. |
I think this might be a side effect of compiling this C library as C++ code. We're being hit by a language incompatibility. In the C world, this would be gross behavior by GCC, because the In C++ it's apparently acceptable? Anyway, thanks for finding this bug/incompatibility. I think your PR is the right fix. |
It looks like at least gcc fails now with
BASE64_NEON64_USE_ASM
set and-O0
. Example output:and a bunch of similar "stray 'R'" errors after that.
clang compiles without errors however.
The text was updated successfully, but these errors were encountered: