From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 550 invoked by alias); 25 Aug 2009 13:25:19 -0000 Received: (qmail 31673 invoked by uid 48); 25 Aug 2009 13:24:59 -0000 Date: Tue, 25 Aug 2009 13:25:00 -0000 Message-ID: <20090825132459.31672.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/40942] GCC accepts code that Comeau and MSVC deems invalid. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bangerth at gmail dot com" 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: 2009-08/txt/msg01965.txt.bz2 ------- Comment #2 from bangerth at gmail dot com 2009-08-25 13:24 ------- Why would this be ambiguous? A string literal has type "array of n const char" (see 2.13.4/1), so it should go with the array constructor. Do you disagree? W. -- bangerth at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bangerth at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40942