Return-Path: Delivered-To: apmail-stdcxx-issues-archive@locus.apache.org Received: (qmail 38006 invoked from network); 22 Jul 2008 20:41:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jul 2008 20:41:52 -0000 Received: (qmail 24631 invoked by uid 500); 22 Jul 2008 20:41:52 -0000 Delivered-To: apmail-stdcxx-issues-archive@stdcxx.apache.org Received: (qmail 24606 invoked by uid 500); 22 Jul 2008 20:41:51 -0000 Mailing-List: contact issues-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list issues@stdcxx.apache.org Received: (qmail 24595 invoked by uid 99); 22 Jul 2008 20:41:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 13:41:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2008 20:41:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AE0D7234C17A for ; Tue, 22 Jul 2008 13:41:31 -0700 (PDT) Message-ID: <332539487.1216759291712.JavaMail.jira@brutus> Date: Tue, 22 Jul 2008 13:41:31 -0700 (PDT) From: "Travis Vitek (JIRA)" To: issues@stdcxx.apache.org Subject: [jira] Updated: (STDCXX-1002) [Sun C++ 5.9] partial specialization on cv-qualifiers broken for array types In-Reply-To: <638355482.1216759051636.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-1002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Travis Vitek updated STDCXX-1002: --------------------------------- Environment: SunOS marbles 5.10 Generic_118855-33 i86pc i386 i86pc CC: Sun C++ 5.9 SunOS_i386 Patch 124864-01 2007/07/25 Summary: [Sun C++ 5.9] partial specialization on cv-qualifiers broken for array types (was: [Sun C++] partial specialization on cv-qualifiers broken for array types) > [Sun C++ 5.9] partial specialization on cv-qualifiers broken for array types > ---------------------------------------------------------------------------- > > Key: STDCXX-1002 > URL: https://issues.apache.org/jira/browse/STDCXX-1002 > Project: C++ Standard Library > Issue Type: Bug > Components: External > Environment: SunOS marbles 5.10 Generic_118855-33 i86pc i386 i86pc > CC: Sun C++ 5.9 SunOS_i386 Patch 124864-01 2007/07/25 > Reporter: Travis Vitek > > {noformat} > $ cat t.cpp && CC t.cpp > template > struct __rw_is_const > { > enum { value = 0 }; > }; > template > struct __rw_is_const > { > enum { value = 1 }; > }; > extern "C" int printf (const char*, ...); > int main () > { > #define test(X) if (!(X)) printf ("%s != 1\n", #X) > test (!__rw_is_const::value); > test (__rw_is_const::value); > test (__rw_is_const::value); > test (__rw_is_const::value); > return 0; > } > __rw_is_const::value != 1 > __rw_is_const::value != 1 > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.