You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2006/06/30 02:32:29 UTC

[jira] Created: (STDCXX-246) [HP aCC 3.27] Error 475 and 445 in due to explicit instantiation

[HP aCC 3.27] Error 475 and 445 in <rw/_ioinsert.h> due to explicit instantiation
---------------------------------------------------------------------------------

         Key: STDCXX-246
         URL: http://issues.apache.org/jira/browse/STDCXX-246
     Project: C++ Standard Library
        Type: Bug

  Components: Build  
    Versions: 4.1.3    
 Environment: HP aCC 3.27
    Reporter: Martin Sebor
 Assigned to: Martin Sebor 


The library fails to build with HP aCC 3.27 the following errors (in addition to those described in STDCXX-245 and others):

aCC -c -I/tmp_mnt/amd/devco/sebor/dev/stdlib/include/ansi -I/usr/include  -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG -I/tmp_mnt/amd/devco/sebor/dev/stdlib/include -I/build/sebor/aCC-3.27-11s/include  -Aa +nostl  -g +d  +w +W392 +W655 +W684 +W818 +W819 +W849 +W229 +W361   /tmp_mnt/amd/devco/sebor/dev/stdlib/src/ti_insert_dbl.cpp
Error 475: "/tmp_mnt/amd/devco/sebor/dev/stdlib/include/rw/_ioinsert.h", line
    65 # Cannot generate a specialization of incomplete template class
    basic_ostream<char,std::char_traits<char> >
    ["/tmp_mnt/amd/devco/sebor/dev/stdlib/include/rw/_ioinsert.h", line 65].
    typedef basic_ostream<char> ostream;
            ^^^^^^^^^^^^^^^^^^^         
Error 445: "/tmp_mnt/amd/devco/sebor/dev/stdlib/include/rw/_ioinsert.h", line
    135 # Cannot recover from earlier errors.
    _RWSTD_INSTANTIATE_FUN_1 (_RWSTD_EXPORT _STD::ostream&
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
gmake: *** [ti_insert_dbl.o] Error 2


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (STDCXX-246) [HP aCC 3.27] Error 475 and 445 in due to explicit instantiation

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/STDCXX-246?page=comments#action_12418542 ] 

Martin Sebor commented on STDCXX-246:
-------------------------------------

Compiling with -D_RWSTD_NO_EXPLICIT_INSTANTIATION gets around the error.

> [HP aCC 3.27] Error 475 and 445 in <rw/_ioinsert.h> due to explicit instantiation
> ---------------------------------------------------------------------------------
>
>          Key: STDCXX-246
>          URL: http://issues.apache.org/jira/browse/STDCXX-246
>      Project: C++ Standard Library
>         Type: Bug

>   Components: Build
>     Versions: 4.1.3
>  Environment: HP aCC 3.27
>     Reporter: Martin Sebor
>     Assignee: Martin Sebor

>
> The library fails to build with HP aCC 3.27 the following errors (in addition to those described in STDCXX-245 and others):
> aCC -c -I/tmp_mnt/amd/devco/sebor/dev/stdlib/include/ansi -I/usr/include  -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG -I/tmp_mnt/amd/devco/sebor/dev/stdlib/include -I/build/sebor/aCC-3.27-11s/include  -Aa +nostl  -g +d  +w +W392 +W655 +W684 +W818 +W819 +W849 +W229 +W361   /tmp_mnt/amd/devco/sebor/dev/stdlib/src/ti_insert_dbl.cpp
> Error 475: "/tmp_mnt/amd/devco/sebor/dev/stdlib/include/rw/_ioinsert.h", line
>     65 # Cannot generate a specialization of incomplete template class
>     basic_ostream<char,std::char_traits<char> >
>     ["/tmp_mnt/amd/devco/sebor/dev/stdlib/include/rw/_ioinsert.h", line 65].
>     typedef basic_ostream<char> ostream;
>             ^^^^^^^^^^^^^^^^^^^         
> Error 445: "/tmp_mnt/amd/devco/sebor/dev/stdlib/include/rw/_ioinsert.h", line
>     135 # Cannot recover from earlier errors.
>     _RWSTD_INSTANTIATE_FUN_1 (_RWSTD_EXPORT _STD::ostream&
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> gmake: *** [ti_insert_dbl.o] Error 2

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (STDCXX-246) [HP aCC 3.27] Error 475 and 445 in due to explicit instantiation

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor updated STDCXX-246:
--------------------------------

    Priority: Minor  (was: Major)

Lowered priority since the issue can be dealt with by using a more recent version of aCC.

> [HP aCC 3.27] Error 475 and 445 in <rw/_ioinsert.h> due to explicit instantiation
> ---------------------------------------------------------------------------------
>
>                 Key: STDCXX-246
>                 URL: https://issues.apache.org/jira/browse/STDCXX-246
>             Project: C++ Standard Library
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 4.1.3
>         Environment: HP aCC 3.27
>            Reporter: Martin Sebor
>         Assigned To: Martin Sebor
>            Priority: Minor
>
> The library fails to build with HP aCC 3.27 the following errors (in addition to those described in STDCXX-245 and others):
> aCC -c -I/tmp_mnt/amd/devco/sebor/dev/stdlib/include/ansi -I/usr/include  -D_RWSTDDEBUG    -D_RWSTD_USE_CONFIG -I/tmp_mnt/amd/devco/sebor/dev/stdlib/include -I/build/sebor/aCC-3.27-11s/include  -Aa +nostl  -g +d  +w +W392 +W655 +W684 +W818 +W819 +W849 +W229 +W361   /tmp_mnt/amd/devco/sebor/dev/stdlib/src/ti_insert_dbl.cpp
> Error 475: "/tmp_mnt/amd/devco/sebor/dev/stdlib/include/rw/_ioinsert.h", line
>     65 # Cannot generate a specialization of incomplete template class
>     basic_ostream<char,std::char_traits<char> >
>     ["/tmp_mnt/amd/devco/sebor/dev/stdlib/include/rw/_ioinsert.h", line 65].
>     typedef basic_ostream<char> ostream;
>             ^^^^^^^^^^^^^^^^^^^         
> Error 445: "/tmp_mnt/amd/devco/sebor/dev/stdlib/include/rw/_ioinsert.h", line
>     135 # Cannot recover from earlier errors.
>     _RWSTD_INSTANTIATE_FUN_1 (_RWSTD_EXPORT _STD::ostream&
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> gmake: *** [ti_insert_dbl.o] Error 2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.