------- Comment #3 from manu at gcc dot gnu dot org 2007-02-19 19:14 -------
(In reply to comment #1)
> manu, is this something already covered by your pending -Wconversion fixes?
>
No, it is not. And I don't think it should be warned by -Wconversion. After
all, no value is changed during the conversion.
On the other hand, we give an error for:
void foo(const char *);
void bar() { foo(1 != 0); }
error: cannot convert âboolâ to âconst char*â for argument â1â to
âvoid foo(const char*)â
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30860