3 Jun
2002
3 Jun
'02
7:31 a.m.
El Fri, 31 May 2002 16:39:19 -0400
"Richard Fox"
In problem (2) in my previous email I cited code Listing 2, but this compilation error was actually generated by code Listing 3, as follows:
...
The errors are:
listing3.C:29: no matching function for call to `bind ({unknown type}, int)' listing3.C:31: no matching function for call to `bind ({unknown type}, int)'
Thanks
It works for me in gcc 3.0.4 Try to change the lines with bind to: boost::thread thrd1(boost::bind(count, 1)); boost::thread thrd2(boost::bind(count, 2)); it should work too. Regards, Raúl.