[Bug c++/38055] key for compilation -Wconversion

2009-01-23 Thread manu at gcc dot gnu dot org
--- Comment #1 from manu at gcc dot gnu dot org 2009-01-24 01:40 --- Quoting the FAQ at http://gcc.gnu.org/wiki/NewWconversion#faq Why Wconversion is not enabled by -Wall or at least by -Wextra? Implicit conversions are very common in C. This tied with the fact that there is no data-fl

[Bug c++/38055] key for compilation -Wconversion

2009-01-23 Thread lisp2d at lisp2d dot net
--- Comment #2 from lisp2d at lisp2d dot net 2009-01-24 06:00 --- The niche is selected incorrectly. Basically the considerable quantity of errors of programming is linked to implicit type conversion. void insert(char*,char,unsigned int){..} insert(..,..,size_t); Example double d = 1