C++0x, thread, promise and future

Jonathan Wakely jwakely.gcc@gmail.com
Sat Jul 16 07:05:00 GMT 2011


On 15 July 2011 22:53, Jonathan Wakely wrote:
> I tried to test your code, but its not a reproducable test case, it
> has bits of text in the middle saying "I use this class in  my main"
>
> It would be easier if you post code that others can compile and run,
> not snippets of code that don't form a complete program.
>
> And as Paolo suggested, questions like this should go to the gcc-help
> mailing list if you're just asking for help using the library.
>
> At a guess, did you compile with -pthread to enable thread support?
>

Also, you didn't even say what version of GCC you're using.  If you do
ask your question on the gcc-help list you need to provide basic info
like that.



More information about the Libstdc++ mailing list