c++/6248: gcc 2.95.3 and 3.0.4 accept bool assigned to bool * function parameter
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Thu Apr 25 07:07:00 GMT 2002
Synopsis: gcc 2.95.3 and 3.0.4 accept bool assigned to bool * function parameter
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Thu Apr 25 07:07:40 2002
State-Changed-Why:
not a bug. 'false' is an integral constant expression of
value zero i.e. a null pointer constant. This is unfortunate,
for the reasons you give, but not wrong
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6248
More information about the Gcc-prs
mailing list