-
Notifications
You must be signed in to change notification settings - Fork 162
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
Build failure on PPC: parser_stype.h: error: static assertion failed: the comparison reduces to '(16 == 12)'
#2460
Comments
@certik Not sure if this is a problem or an arch specifics, but with this static assert commented out plus two minor fixes – #2459 and #2461 – There is no support for powerpc assembler in the code, so I do not know to what extent it will be usable, but it builds :) |
If this is of little concern (i.e. the code still gonna work, just slower), then something like this allows it to build: barracuda156@8ad2ce3 |
The fix at barracuda156@8ad2ce3 is fine. This is just a performance problem in parsing --- when the node is bigger than necessary (the AST node, 12 bytes in this case), we are wasting memory and copying too much, but there are no functional issues, just slightly slower performance of parsing. |
@certik Great, then I can make a PR for this. |
This is likely due to 32-bitness of the arch or possibly something specific to
ppc
. I have noi386
set-up at hand to compare.The text was updated successfully, but these errors were encountered: