We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following errors with error: incompatible pointer types ('const char *' and 'char *')
error: incompatible pointer types ('const char *' and 'char *')
#include <stddef.h> ptrdiff_t foo(void) { char c[2] = {0, 0}; const char *p = &c[1]; return p - &c[0]; }
The text was updated successfully, but these errors were encountered:
Parser: allow pointer subtraction of differently-qualified types
9808c2b
Fixes Vexu#833
b0dec78
Fixes #833
Successfully merging a pull request may close this issue.
The following errors with
error: incompatible pointer types ('const char *' and 'char *')
The text was updated successfully, but these errors were encountered: