This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24525] g++ fails to warn when converting UDT through double to int
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Dec 2006 16:20:40 -0000
- Subject: [Bug c++/24525] g++ fails to warn when converting UDT through double to int
- References: <bug-24525-3373@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from manu at gcc dot gnu dot org 2006-12-10 16:20 -------
With current mainline (G++ 4.3) I get:
pr24525.C:15: warning: conversion to ?int? from ?double? may alter its value
Is this what you wished?
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24525