On 27/02/2014 07:50, Mingjie Xing wrote: > Hello, > > I'm wondering if it's a good idea to turn on some warnings by default > (or even promote them to error), such as -Wreturn-type on C. This > would help programmers to avoid some mistakes. > I am writing a patch for this specific change but it is a huge work. Many unitary tests have to be updated... I guess that would be the same with other warnings... See http://gcc.gnu.org/ml/gcc-patches/2014-01/msg00820.html or http://gcc.gnu.org/ml/gcc/2014-01/msg00194.html
Sylvestre