Skip to content
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

Does not recognise multiple assignations when the middle has a cast #467

Open
yumamur opened this issue Dec 3, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@yumamur
Copy link

yumamur commented Dec 3, 2023

I have experimented with multiple variations of it when this first occured.
While this raises the expected error:

void func(void **arr, char *str)
{
    str = ((char **)arr)[1] = str;
}

this does not:

    str = (((char **)arr)[1] = str);
@matthieu42Network matthieu42Network added the bug Something isn't working label Dec 4, 2023
@yumamur yumamur changed the title Does not recognise multiple assignations when a the middle has a cast Does not recognise multiple assignations when the middle has a cast Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants