Struggling with shared objects
Mike via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Jan 17 13:25:50 PST 2015
On Saturday, 17 January 2015 at 21:12:34 UTC, Vlad Levenfeld
wrote:
> That's real weird.
> In D:\D\dmd2\src\phobos\std\concurrency.d(13,13)
> 13,13 isn't a line number
> and static assertions should go off during compilation, not
> runtime.
It is during compilation.
When I run dmd myself, I get this:
C:\Users\Michael\Documents\Projects\StompBroker\StompBroker>dmd
main.d
D:\D\dmd2\windows\bin\..\..\src\phobos\std\concurrency.d(165):
Error: static ass
ert (false || false) is false
D:\D\dmd2\windows\bin\..\..\src\phobos\std\concurrency.d(634):
instantiat
ed from here: checkops!(shared(Client*), char[1024])
main.d(11): instantiated from here:
receive!(shared(Client*), char[1024])
More information about the Digitalmars-d-learn
mailing list