bool vs bool* bug in v 2.8.1
Nathan Sidwell
nathan@acm.org
Sun Oct 31 23:03:00 GMT 1999
Anand Ranganathan wrote:
>
> compiles just fine with g++. Shoouldn't I see a type mismatch of bool vs
> bool*?
No. pointer types can be implicitly converted to bool.
nathan
--
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
I have seen the death of PhotoShop -- it is called GIMP
nathan@acm.org http://www.cs.bris.ac.uk/~nathan/ nathan@cs.bris.ac.uk
More information about the Gcc-bugs
mailing list