Tomas Carnecky wrote:
It's the source of many useless warnings.
It was my suggestion to Peter to add -Wbad-function-cast
(and a few others). I am not sure if the proper solution
to the warnings is to not generate them :-)
As I understand this option, the proper solution is
of course not to
On Wed, Feb 04, 2009 at 10:39:36PM +0100, Tomas Carnecky wrote:
It's the source of many useless warnings.
If it's only reporting false-positives, then this seems sensible.
Signed-off-by: Tomas Carnecky t...@dbservice.com
---
It causes warnings for code like:
int i = (int)