[cfe-dev] libcxx std::cerr on GNU/Linux

"C. Bergström" cbergstrom at pathscale.com
Wed Feb 29 07:10:57 PST 2012


On 02/29/12 09:03 PM, Bruce Stephens wrote:
> clang++ and libcxx seems mostly to work (I've been using clang for a
> little while on our source tree and it's revealed a number of problems,
> and libcxx has shown another couple, I think).
>
> Actually running executables also seems to work, except for output to
> std::cerr:
>
> #include<iostream>
> int main()
> {
>      std::cout<<  "Hello world\n";
> }
>
> works fine, and valgrind seems happy with it. Changing the cout to cerr
> causes a crash (after producing the output):
(I haven't looked if this is a bug in the runtime, but if it is)

Please report your libcxx bugs to
https://github.com/pathscale/libcxxrt/issues

Thanks




More information about the cfe-dev mailing list