-Wno-unused or -Wno-unused-pparameter and/or -Wno-unused- variable. But I thought this was about uninitialised var warnings? -Wno- uninitialized
for that one.

If you are asking for a GCC option that will warn for all suspect cases
_except_ for the ones where it is obvious to you there is no problem:
you could try -Wesp.

Ooops I was asking for -Wno-uninitialized.  I'll try a build with:
        -Wno-uninitialized -Wesp
and see how that goes.

-Wesp was a joke: I was trying to say that the compiler cannot read minds.
It doesn't know what potentially unused variables are obviously (to you)
actually used.


Segher

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to