Operating System - Tru64 Unix
1753361 Members
5216 Online
108792 Solutions
New Discussion

Unaligned access error when stringstream used

 
avidamani
New Member

Unaligned access error when stringstream used

I have a c++ application in which I am using stringstream to convert integer/long to string.
Whenever I do that I get an unalignedd access error and my application core dumps. Surprisingly the same thing works on other applications. The compiler version is :
Compaq C++ V6.5-014 for Compaq Tru64 UNIX V5.1A (Rev. 1885)
Compiler Driver V6.5-014 (cxx) cxx Driver

Can anyone help me in finding out what is causing this kind of behaviour in my application.

Thanks in advance.