incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STDCXX-300) [XLC++ 8.0] error 1540-0062 compiling ti_money_get.cpp
Date Fri, 16 Mar 2007 01:40:09 GMT

    [ https://issues.apache.org/jira/browse/STDCXX-300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481418
] 

Martin Sebor commented on STDCXX-300:
-------------------------------------

Since _RWSTD_NO_EXPLICIT_INSTANTIATION_BEFORE_DEFINITION alone may not be enough here's a
diff between an XLC++ 7.0 config file (which works fine) and one for XLC++ 8.0 to help zero
in on what's changed. Suspect _RWSTD_NO_IMPLICIT_INSTANTIATION (rebuilding the library with
it defined eliminates warning 1540-2910. Seems the preprocessor conditional on line 1442 of
include/rw/_defs.h isn't quite right?

$ diff /build/sebor/stdcxx-xlc-7.0.0.3-15D/include/config.h /build/sebor/stdcxx-xlc-8.0.0.12-15D/include/config.h
| grep -v -e _ANSI_ -e configured
1c1
---
3c3
---
11c11
---
17c17
---
29c29
---
31c31
---
39c39
---
41c41
---
414c414
< #define _RWSTD_NO_EXPLICIT_INSTANTIATION_WITH_IMPLICIT_INCLUSION
---
> // #define _RWSTD_NO_EXPLICIT_INSTANTIATION_WITH_IMPLICIT_INCLUSION
427c427
< #define _RWSTD_NO_EXTERN_TEMPLATE
---
> // #define _RWSTD_NO_EXTERN_TEMPLATE
429c429
< #define _RWSTD_NO_EXTERN_TEMPLATE_BEFORE_DEFINITION
---
> // #define _RWSTD_NO_EXTERN_TEMPLATE_BEFORE_DEFINITION
482c482
< #define _RWSTD_NO_IMPLICIT_INSTANTIATION
---
> // #define _RWSTD_NO_IMPLICIT_INSTANTIATION


> [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.


Mime
View raw message