STL and aCC
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > STL and aCC




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    STL and aCC  
Torsten Mueller


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-20-06 01:14 PM

I have a problem using the native STL implementation (this is a Rogue
Wave one) with the aCC compiler (HP ANSI C++ B3810B A.03.55) on HPUX
11. Yes, it's old. But why it does not work?

My program looks like this:

int main (int argc,char* argv[])
{
cout << endl;
return 0;
}

It crashes during the stream output operation. The stack is as
follows:

#0  0x77fa5368 in kill () from /usr/lib/libc.2
#1  0x77f42280 in raise () from /usr/lib/libc.2
#2  0x77f8291c in abort_C () from /usr/lib/libc.2
#3  0x77f82974 in abort () from /usr/lib/libc.2
#4  0x77d6483c in std::terminate () from /usr/lib/libCsup_v2.2
#5  0x77d647dc in std::terminate () from /usr/lib/libCsup_v2.2
#6  0x77d64cf4 in ThrowException () from /usr/lib/libCsup_v2.2
#7  0x77d65254 in __throw__FPvT1 () from /usr/lib/libCsup_v2.2
#8  0x77cced0c in std::locale::_C_install_facet () from /usr/lib/libstd_v2.2
#9  0x77cce92c in std::locale::_C_make_facet () from /usr/lib/libstd_v2.2
#10 0x000d8ea4 in std::basic_filebuf<char,std::char_traits<char>>::overflow
(this=0x77b5b550, __c=-1) at /opt/aCC/include_std/fstream.cc:339
#11 0x000d9778 in std::basic_filebuf<char,std::char_traits<char>>::sync
(this=0x77b5b550) at /opt/aCC/include_std/fstream.cc:572
#12 (here is main)

What's the reason for this exception? Can I something do to avoid
this? The STLPort library I use before does not show this problem.

T.M.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:11 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register