Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 67160 invoked from network); 16 Mar 2007 00:16:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2007 00:16:30 -0000 Received: (qmail 88876 invoked by uid 500); 16 Mar 2007 00:16:38 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 88860 invoked by uid 500); 16 Mar 2007 00:16:38 -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 88843 invoked by uid 99); 16 Mar 2007 00:16:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2007 17:16:38 -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; Thu, 15 Mar 2007 17:16:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 42591410993 for ; Thu, 15 Mar 2007 17:16:09 -0700 (PDT) Message-ID: <12195991.1174004169243.JavaMail.jira@brutus> Date: Thu, 15 Mar 2007 17:16:09 -0700 (PDT) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Commented: (STDCXX-300) [XLC++ 8.0] error 1540-0062 compiling ti_money_get.cpp In-Reply-To: <22440684.1162592296512.JavaMail.root@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-300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481384 ] Martin Sebor commented on STDCXX-300: ------------------------------------- Defining the _RWSTD_NO_EXPLICIT_INSTANTIATION_BEFORE_DEFINITION macro resolves the compilation error. However, the macro seems to cause several 1540-2910 warnings along the lines of: xlCcore_r -c -I/amd/devco/sebor/stdcxx/include/ansi -D_RWSTDDEBUG -I/amd/devco/sebor/stdcxx/include -I/build/sebor/tmp/stdcxx-xlc-8.0.0.12-15D/include -g -q64 -qtemplateregistry=repository.ti /amd/devco/sebor/stdcxx/src/collate.cpp "/amd/devco/sebor/stdcxx/src/podarray.h", line 161.21: 1540-2910 (I) The template "__rw::__rw_pod_array &__rw::__rw_pod_array::append(const unsigned int * const *, unsigned long)" uses a file organization for tempinc, but tempinc is not being used. "/amd/devco/sebor/stdcxx/src/podarray.h", line 74.7: 1540-0424 (I) "template class __rw::__rw_pod_array" is declared on line 74 of "/amd/devco/sebor/stdcxx/src/podarray.h". > [XLC++ 8.0] error 1540-0062 compiling ti_money_get.cpp > ------------------------------------------------------ > > Key: STDCXX-300 > URL: https://issues.apache.org/jira/browse/STDCXX-300 > Project: C++ Standard Library > Issue Type: Bug > Components: Build > Environment: XLC++ 8.0/AIX > Reporter: Martin Sebor > Assigned To: Martin Sebor > Priority: Blocker > > The latest library fails to build with IBM XLC++ 8.0 on AIX with the error below: > xlCcore -c -I/build2/batman/5.0.0/builds/33187497/source-buildspace/include/ansi -D_RWSTDDEBUG -D_RWSTD_USE_CONFIG -I/build2/batman/5.0.0/builds/33187497/source-buildspace/include -I/build2/batman/5.0.0/builds/33187497/source-buildspace/build/include -g -qtemplateregistry=repository.ti /build2/batman/5.0.0/builds/33187497/source-buildspace/src/ti_money_get.cpp > "/build2/batman/5.0.0/builds/33187497/source-buildspace/include/streambuf", line 288.43: 1540-0062 (S) The incomplete class "_Traits" must not be used as a qualifier. > "/build2/batman/5.0.0/builds/33187497/source-buildspace/include/rw/_ioiter.h", line 144.44: 1540-0700 (I) The previous message was produced while processing "class std::basic_streambuf >". > gmake: *** [ti_money_get.o] Error 1 > gmake: Leaving directory `/build2/batman/5.0.0/builds/33187497/source-buildspace/build/lib' -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.