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-246) [HP aCC 3.27] Error 475 and 445 in <rw/_ioinsert.h> due to explicit instantiation
Date Fri, 30 Jun 2006 00:54:30 GMT
    [ 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


Mime
View raw message