I\'m getting this warning on a stack variable:
warning: object.member may be used uninitialized in this function
In this case I do not wish to
GCC differentiates between uninitalised and self initalized, e.g. compiling:
int main() { int i = i; return i; }
With gcc -Wall -Wextra gives no warnings, unless you explicitly added -Winit-self as well, yet it gets completely optimized out by my quick testing.
gcc -Wall -Wextra
-Winit-self