But no one answered so I am re-posting it here. Hopefully no one is
offended.
I am using clang 3.4.1 running under windows and mingw32 (gcc 4.8.1).
I have no problem with compiling C program under clang and running it. I
also have no problem compiling C++ program through clang++. But I have
problem running the resulting C++ program. It failed with an error stating
that the program has halted. I am pretty sure that it has got something to
do with the std:: as it failed whenever I invoked any functions in the std.
edit: I discovered that if I *std::cout << "hello, world!\n"*, it terminated
gracefully. But *std::cout << "count: " << count* produced the same error.
But no one answered so I am re-posting it here. Hopefully no one is
offended.
I am using clang 3.4.1 running under windows and mingw32 (gcc 4.8.1).
I have no problem with compiling C program under clang and running it. I
also have no problem compiling C++ program through clang++. But I have
problem running the resulting C++ program. It failed with an error stating
that the program has halted. I am pretty sure that it has got something to
do with the std:: as it failed whenever I invoked any functions in the std.