I had almost the same problem - including the bad cast - on AIX 5.2 and gcc
4.1.1.
My application uses pthreads.
My application packags up the libraries it needs to execute - and I was
using
/usr/local/lib/libstdc++.a when I really wanted
/usr/local/lib/pthread/libstdc++.a
You can see the pat
Thomas Mittelstaedt wrote:
Hello,
We have a large app with a lot of static libraries in it (and I mean a
lot, about 20) and it compiles and links successfully. If I compile it
without optimiztion turned on
(-O2 or some more subtle with -O and others), the program also runs.
With optimizatio
On Mon, May 21, 2007 at 07:06:47PM +0200, Thomas Mittelstaedt wrote:
> Hello,
>
> We have a large app with a lot of static libraries in it (and I mean a
> lot, about 20) and it compiles and links successfully. If I compile it
> without optimiztion turned on
> (-O2 or some more subtle with -O a