-
Notifications
You must be signed in to change notification settings - Fork 47
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
pointer cast warnings too strict #325
Labels
enhancement
New feature or request
Comments
That error is actually talking about the second void foo() {
const char p1 = (const char)1; // warning: cast to type 'char' will not preserve qualifiers [-Wcast-qualifiers]
} This is an warning that I added so it should either be clarified or removed altogether. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This currently gives a warning when it shouldn't:
The text was updated successfully, but these errors were encountered: