Skip to content
  • Jonas Ådahl's avatar
    Compile with -Wfloat-conversion · 422ee451
    Jonas Ådahl authored
    This means we'll get warnings whenever a floating point value looses
    precision, e.g. gets implicitly casted to an integer. It also warns when
    implicitly casting double's to float's, which arguably is less of a
    problem, but there are no warning for just float/double to int.
    
    This would have caught
    GNOME/mutter#3530.
    
    Part-of: <GNOME/mutter!3822>
    422ee451