I have a thread but unfortunately none of the suggestions are working for me http://stackoverflow.com/questions/475407/make-one-gcc-warning-an-error
in my makefile i specify -Werror=uninitialized, no errors occur. I changed it to -Wuninitialized and i see my warning, -Wno-uninitialized makes it go away as expected, but why isnt -Werror=uninitialized working?
Also it was suggested in code i write
#pragma GCC diagnostic error "-Wuninitialized"
that does not work either. Why?