Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 89993 invoked from network); 23 Mar 2007 15:31:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Mar 2007 15:31:53 -0000 Received: (qmail 19175 invoked by uid 500); 23 Mar 2007 15:32:00 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 19156 invoked by uid 500); 23 Mar 2007 15:32:00 -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 19145 invoked by uid 99); 23 Mar 2007 15:32:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 08:32:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Fri, 23 Mar 2007 08:31:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 33CF8714057 for ; Fri, 23 Mar 2007 08:31:32 -0700 (PDT) Message-ID: <27355902.1174663892192.JavaMail.jira@brutus> Date: Fri, 23 Mar 2007 08:31:32 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Updated: (STDCXX-177) [Sun C++ 5.8] S::E not recognized as an const integral expression In-Reply-To: <28913685.1146852151096.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-177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Sebor updated STDCXX-177: -------------------------------- Summary: [Sun C++ 5.8] S::E not recognized as an const integral expression (was: Sun C++ 5.8 S::E not recognized as an const integral expression) > [Sun C++ 5.8] S::E not recognized as an const integral expression > -------------------------------------------------------------------- > > Key: STDCXX-177 > URL: https://issues.apache.org/jira/browse/STDCXX-177 > Project: C++ Standard Library > Issue Type: Bug > Components: External > Environment: Sun C++ 5.5 through 5.8 (but not 5.3) > Reporter: Martin Sebor > > The following well-formed snippet fails to compile: > $ cat t.cpp && CC -V -c t.cpp > template struct S { enum { E = 1 }; static int i []; }; > template int S::i [S::E]; > CC: Sun C++ 5.8 2005/10/13 > ccfe: Sun C++ 5.8 2005/10/13 > "t.cpp", line 2: Error: An integer constant expression is required within the array subscript operator. > 1 Error(s) detected. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.