From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31670 invoked by alias); 15 May 2005 22:50:32 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 31535 invoked by uid 48); 15 May 2005 22:50:30 -0000 Date: Sun, 15 May 2005 22:50:00 -0000 Message-ID: <20050515225030.31532.qmail@sourceware.org> From: "schlie at comcast dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050314190251.20475.dcb314@hotmail.com> References: <20050314190251.20475.dcb314@hotmail.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/20475] static_cast falsely allows const to be cast away X-Bugzilla-Reason: CC X-SW-Source: 2005-05/txt/msg02121.txt.bz2 List-Id: ------- Additional Comments From schlie at comcast dot net 2005-05-15 22:50 ------- (In reply to comment #1) > With -Wwrite-strings, I do get a warning: > t.cc:3: warning: deprecated conversion from string constant to �char*�' - arguably, this warning should always be on, and only optionally turned off when one want's to live dangeriously; it would seem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20475