17 Sep
2016
17 Sep
'16
4:58 p.m.
Can you clarify your approach going forward? When this compiles (other versions of gcc, visual studio) it works as intended. It's not a huge deal for me whether this is fixed for 1.62, but I definitely don't want it to be expressly forbidden going forward.
The float->int conversion fails for me with as expected with msvc and current gcc versions. Of course the error message should be a lot better. The ideal solution would be to overload iround/itrunc for multiprecision integer target types, but of course that's not possible. I guess an explicit cast is just about acceptable, but let me think about this. John.