Re: trouble compiling Fiber example code from docs dmd linux v2.067.1

2015-08-06 Thread anonymous via Digitalmars-d-learn
On Thursday, 6 August 2015 at 20:21:38 UTC, Carl Sturtivant wrote: I took the example code from here, http://dlang.org/phobos/core_thread.html#.Fiber and wrapped the statements at the bottom inside main() and put import core.thread and std.stdio at the top, and the compiler gave me the

trouble compiling Fiber example code from docs dmd linux v2.067.1

2015-08-06 Thread Carl Sturtivant via Digitalmars-d-learn
I took the example code from here, http://dlang.org/phobos/core_thread.html#.Fiber and wrapped the statements at the bottom inside main() and put import core.thread and std.stdio at the top, and the compiler gave me the following. /usr/include/dmd/druntime/import/core/thread.d(3894): Error: