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] Closed: (STDCXX-101) [aCC 3, 5] Error 475 in ti_insert_dbl.cpp et al
Date Mon, 09 Jan 2006 01:33:21 GMT
     [ http://issues.apache.org/jira/browse/STDCXX-101?page=all ]
     
Martin Sebor closed STDCXX-101:
-------------------------------

    Resolution: Fixed

Fixed by the referenced changes.

> [aCC 3, 5] Error 475 in ti_insert_dbl.cpp et al
> -----------------------------------------------
>
>          Key: STDCXX-101
>          URL: http://issues.apache.org/jira/browse/STDCXX-101
>      Project: STDCXX
>         Type: Bug
>   Components: Build
>     Versions: 4.1.2
>  Environment: HP aCC 3, 5
>     Reporter: Martin Sebor
>     Assignee: Martin Sebor
>     Priority: Critical
>      Fix For: 4.1.3

>
> The library fails to build with aCC 3 and 5 with the errors below:
> aCC -c -I/build/sebor/dev/stdlib/include/ansi -I/usr/include     -D_RWSTD_USE_CONFIG
-I/build/sebor/aCC-3.63-8s/include -I/build/sebor/dev/stdlib/include  -Aa +nostl  +O2  +w
+W392 +W655 +W684 +W818 +W819 +W849   /build/sebor/dev/stdlib/src/ti_insert_dbl.cpp
> Error 475: "/build/sebor/dev/stdlib/include/rw/_ioinsert.h", line 56 # Cannot
>     generate a specialization of incomplete template class
>     basic_ostream<char,std::char_traits<char> >
>     ["/build/sebor/dev/stdlib/include/rw/_ioinsert.h", line 56].
>     typedef basic_ostream<char, char_traits<char> > ostream;
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^         
> Error 537: "/build/sebor/dev/stdlib/include/rw/_ioinsert.cc", line 36 # Cannot
>     create a 'sentry' object; class sentry has only been seen as an incomplete
>     declaration.
>             __opfx (__strm);
>             ^^^^^^          
> Error 475: "/build/sebor/dev/stdlib/include/rw/_ioinsert.h", line 56 # Cannot
>     generate a specialization of incomplete template class
>     basic_ostream<char,std::char_traits<char> >
>     ["/build/sebor/dev/stdlib/include/rw/_ioinsert.h", line 56].
>     typedef basic_ostream<char, char_traits<char> > ostream;
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^         
> Error 537: "/build/sebor/dev/stdlib/include/rw/_ioinsert.cc", line 36 # Cannot
>     create a 'sentry' object; class sentry has only been seen as an incomplete
>     declaration.
>             __opfx (__strm);
>             ^^^^^^          
> Error 661: "/build/sebor/dev/stdlib/include/ostream", line 88 # Nonstatic
>     member "std::basic_ostream &std::basic_ostream::sentry::_C_strm"
>     referenced from non member "std::basic_ostream<char,std::char_traits<char>
>     > &__rw::__rw_insert<char,std::char_traits<char>,long
>     double>(std::basic_ostream<char,std::char_traits<char> > &,long
double)".
>                   _C_strm (__strm), _C_ok (_C_strm._C_opfx ().good ()) { }
>                                            ^^^^^^^                        
> Error 661: "/build/sebor/dev/stdlib/include/ostream", line 92 # Nonstatic
>     member "std::basic_ostream &std::basic_ostream::sentry::_C_strm"
>     referenced from non member "std::basic_ostream<char,std::char_traits<char>
>     > &__rw::__rw_insert<char,std::char_traits<char>,long
>     double>(std::basic_ostream<char,std::char_traits<char> > &,long
double)".
>                 if (   (   _C_strm.flags () & ios_base::unitbuf
>                            ^^^^^^^                             
> Error 661: "/build/sebor/dev/stdlib/include/ostream", line 99 # Nonstatic
>     member "std::basic_ostream &std::basic_ostream::sentry::_C_strm"
>     referenced from non member "std::basic_ostream<char,std::char_traits<char>
>     > &__rw::__rw_insert<char,std::char_traits<char>,long
>     double>(std::basic_ostream<char,std::char_traits<char> > &,long
double)".
>                     _C_strm.setstate (ios_base::badbit | _RW::__rw_nothrow);
>                     ^^^^^^^                                                 
> Error 661: "/build/sebor/dev/stdlib/include/ostream", line 104 # Nonstatic
>     member "bool std::basic_ostream::sentry::_C_ok" referenced from non member
>     "std::basic_ostream<char,std::char_traits<char> >
>     &__rw::__rw_insert<char,std::char_traits<char>,long
>     double>(std::basic_ostream<char,std::char_traits<char> > &,long
double)".
>                 return _C_ok;
>                        ^^^^^ 
> Error 385: "/build/sebor/dev/stdlib/include/ostream.cc", line 138 # 'this' may
>     only be used inside member functions.
>             const sentry __opfx (*this);
>                                   ^^^^  

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