Turning off -Wunused-local-typedef warning

I try passing to the command line:

-Wno-unused-local-typedef

to turn off the -Wunused-local-typedef warning but it still gets issued. How do i turn this warning off.

My guess is that the command line looks like this:
clang … -Wno-unused-local-typedef -Wall …

Because -Wunused-local-typedef is part of -Wall, that will turn it off and then back on.

My guess is that the command line looks like this:
clang ... -Wno-unused-local-typedef -Wall ...

Because -Wunused-local-typedef is part of -Wall, that will turn it off
and then back on.

You are correct about this.