initialization to `int' from `double'

Nathan Sidwell nathan@codesourcery.com
Sat Feb 26 15:23:00 GMT 2000


Johan Kuipers wrote:
> This bug report concerns the non consequent use of warning. You have
> decided to
> issue a warning if int is initialized from double. When I define a class
> constructor with an int as parameter the warning is not shown.
Ouch! that warning's disappeared all over the place, not just where
you were looking.

patch coming up soon.

nathan
-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org


More information about the Gcc-bugs mailing list