How to make gcc warn about implicit conversions from floating point to int, but not from double to float
I would like to be warned about implicit conversions from any floating point type to any integer type, but not about the narrowing conversion from double
to float
. E.g for this code