Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 88741 invoked from network); 8 Nov 2007 01:46:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2007 01:46:17 -0000 Received: (qmail 41601 invoked by uid 500); 8 Nov 2007 01:46:05 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 41538 invoked by uid 500); 8 Nov 2007 01:46:05 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 41527 invoked by uid 99); 8 Nov 2007 01:46:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 17:46:05 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2007 01:46:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B18E6714233 for ; Wed, 7 Nov 2007 17:45:56 -0800 (PST) Message-ID: <9622574.1194486356724.JavaMail.jira@brutus> Date: Wed, 7 Nov 2007 17:45:56 -0800 (PST) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Commented: (STDCXX-652) 23.vector.stdcxx-611 fails to compile on most platforms In-Reply-To: <25105493.1194483770803.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540945 ] Martin Sebor commented on STDCXX-652: ------------------------------------- Confirmed. Here's an example command line that's missing from the description of the problem: $ make 23.vector.stdcxx-611 eccp -A -x --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib -g --display_error_number --remarks --diag_suppress 193,236,340,401,261,479,487,678,679,815 -I/home/sebor/stdcxx/include/ansi -D_RWSTDDEBUG -I/home/sebor/stdcxx/include -I/build/sebor/stdcxx-eccp-3.9-11s/include -I/home/sebor/stdcxx/tests/include -L/build/sebor/stdcxx-eccp-3.9-11s/rwtest -lrwtest11s --template_directory=/build/sebor/stdcxx-eccp-3.9-11s/lib -L/build/sebor/stdcxx-eccp-3.9-11s/lib /home/sebor/stdcxx/tests/regress/23.vector.stdcxx-611.cpp /build/sebor/stdcxx-eccp-3.9-11s/lib/libstd11s.a /build/sebor/stdcxx-eccp-3.9-11s/rwtest/librwtest11s.a -lstd11s -lm -o 23.vector.stdcxx-611 "/home/sebor/stdcxx/tests/regress/23.vector.stdcxx-611.cpp", line 38: error #811: const variable "s" requires an initializer -- class "S" has no explicitly declared default constructor const S s [3]; ^ 1 error detected in the compilation of "/home/sebor/stdcxx/tests/regress/23.vector.stdcxx-611.cpp". make: *** [23.vector.stdcxx-611] Error 2 > 23.vector.stdcxx-611 fails to compile on most platforms > ------------------------------------------------------- > > Key: STDCXX-652 > URL: https://issues.apache.org/jira/browse/STDCXX-652 > Project: C++ Standard Library > Issue Type: Bug > Components: Tests > Affects Versions: 4.2 > Reporter: Travis Vitek > Fix For: 4.2.1 > > > The type S needs a default constructor, or the const on the array declaration needs to be removed, or we need to add an explicit initializer. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.