In article <1105996076.803882.258250@[EMAIL PROTECTED]
>,
"SiamGod" <ed.woods@[EMAIL PROTECTED]
> wrote:
> In CW9.3 under Win, the following code crashes:
>
> int main()
> {
> ofstream Test;
> Test << " ASDF asdf" << endl;
> }
>
> The same code does nothing on 8.3 , linux, .net and so on. Is 9.3
> buggy?
Not to the best of my knowledge. I'm not duplicating your symptoms
here. It is possible it that there is an inconsistent setting between
your app and how MSL C++ was compiled. Could you insert the following
as the first statement in main?
check(Metrowerks::msl_settings());
If an assertion fires, the text of the assertion should shed some light
on the situation. If an assertion doesn't fire, then I've guessed wrong
and will continue to try and help. And in that case, it would be
helpful to know if the crash occurs under the << " ASDF asdf" or under
the << endl.
-Howard


|