K
Kyle Kolander
Got a strange bug going on here...
// proper includes and additional code here
int x = 2552123;
cout << x;
This results in output like this: 2,552,123
Same behavior with stringstreams.
How can this be happening?
This doesn't always happen... seems like only when we create our executable
with some of our shared libraries (.so).
It works correctly when in main() but not when in our class source files.
When linking with static libraries (.a) it works as expected.
We are developing on AIX with Visual Age 6.0 if that matters.
It's probably something we are doing incorrectly with our shared
libraries... any hints as to what could be causing this?
Thanks,
Kyle
// proper includes and additional code here
int x = 2552123;
cout << x;
This results in output like this: 2,552,123
Same behavior with stringstreams.
How can this be happening?
This doesn't always happen... seems like only when we create our executable
with some of our shared libraries (.so).
It works correctly when in main() but not when in our class source files.
When linking with static libraries (.a) it works as expected.
We are developing on AIX with Visual Age 6.0 if that matters.
It's probably something we are doing incorrectly with our shared
libraries... any hints as to what could be causing this?
Thanks,
Kyle