From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28936 invoked by alias); 19 Feb 2007 20:23:26 -0000 Received: (qmail 28829 invoked by uid 48); 19 Feb 2007 20:23:09 -0000 Date: Mon, 19 Feb 2007 20:23:00 -0000 Message-ID: <20070219202309.28828.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/30860] Should warn about boolean constant false used in pointer context In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mueller at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-02/txt/msg02227.txt.bz2 ------- Comment #6 from mueller at gcc dot gnu dot org 2007-02-19 20:23 ------- there is an implicit value conversion, boolean "false" to address "0". I think that is the definition of -Wconversion, no? anyway, I'll work on a patch. -- mueller at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |mueller at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30860