title: Is there a gcc flag to catch integer truncation?
body: <p>Is there a <code>gcc</code> flag to signal a warning/error when I try to put a <code>double</code> value into an <code>int</code> variable? I currently have <code>-Wall -Wextra -Werror</code> set but I still don't get warned when I (for instance) pass a <code>double</code> to an <code>int</code> parameter, even though I'm losing information.</p>