eric . wrote:
if my Calc addin attempts to pass an integer to an ostringstream, Calc crashes.

i write a simple Calc addin containing one formula including the lines below

       std::ostringstream s1;
       s1 << 5;

Calc blows up on the statment "s1 << 5;".

the code runs OK on Windows, it only crashes on Linux. below is partial output from my compile.


/usr/local/gcc/3.3.3/bin/g++ -c -O -fpic -fno-rtti -I. -I/usr/include -I../../../LINUXexample.out/inc/examples -I../../../include -DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3 -odemo.o demo.cxx
/usr/local/gcc/3.3.3/bin/g++ -shared '-Wl,-rpath,$ORIGIN' -L../../../LINUXexample.out/lib -L../../../linux/lib -L/usr/lib/ooo-1.1/program -o demo.so demo.o\
-lcppuhelpergcc3 -lcppu -lsal -lstlport_gcc -lvcl645li -lvos3gcc3

Sounds like it might be related to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15645


Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to