Boost logo

Boost Users :

From: William E. Kempf (wekempf_at_[hidden])
Date: 2003-03-28 09:32:24


Black Ice said:
> void foo(string & str)
> {
> str = "foo";
> }
>
> int main(int argc, char * argv[])
> {
> string str1("Hello world");
> string str2(str1);
>
> thread trd1(bind(&foo, str1));
> thread trd2(bind(&foo, str2));
> trd1.join();
> trd2.join();
> return 0;
> }

This has been discussed on the developers list. As long as you use the
same RTL, you can ignore these warnings. The next release will address
this by removing the warnings through pragmas.

-- 
William E. Kempf

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net