From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13781 invoked by alias); 14 Oct 2012 18:40:45 -0000 Received: (qmail 13759 invoked by uid 48); 14 Oct 2012 18:40:33 -0000 From: "david at doublewise dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/54924] Warn for std::string constructor with wrong size Date: Sun, 14 Oct 2012 18:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: david at doublewise dot net X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-10/txt/msg01325.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54924 David Stone changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david at doublewise dot net --- Comment #2 from David Stone 2012-10-14 18:40:33 UTC --- Yeah, sorry, I meant the (char const *, size_t) overload, not the (size_t, char) overload.