[ 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<const unsigned int *,1024> &__rw::__rw_pod_array<const unsigned int *,1024>::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<char,std::char_traits<char> >". > 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.