id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 9239,"Implicit type conversion without warning, although Wconversion used",Daniel Rings ,Matthias Schabel,"When defining a variable with automatic type recognition, {{{ auto inv_time = 1/si::second; }}} this instruction {{{ inv_time = 0.4/si::second; }}} does not generate a warning (using -Wconversion), while {{{ auto p = 3; p = 1.0/2.0; }}} generates a warning, as it should. Is there any reason for the different behavior in both cases? It should be mentioned that this is not contingent to ""auto"", for {{{ quantity time = 1/(1/si::second); time = 0.4*si::second; }}} compiles without warning, too (and time = 0 s in the end). I thought implicit typecasts with possible loss of precision were forbidden or would at least trigger a warning. ",Bugs,new,To Be Determined,units,Boost 1.54.0,Problem,,units auto,