CBFalconer wrote:
[ Round (IntegerValue) ]
LATER - I looked them up, and Mr Zaroda is correct. I still feel the expression should either be converted or the function call optimized out. Maybe some grist for the gnu variety. I suggest complaining only with 'pedantic' and generating the appropriate code anyhow. That should minimize the changes.
What I do now is:
- In standard mode, give an error,
- otherwise, give a warning and optimize the conversion (which is generally inlined, not a function call, BTW).
Frank