Comple error in std.experimental.logger.core.d
Chris Piker via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Oct 27 14:50:30 PDT 2015
Using DMD64 (v2.068.2) on Linux CentOS 6.7, compiler was
downloaded
from this link:
http://downloads.dlang.org/releases/2.x/2.068.2/dmd-2.068.2-0.fedora.x86_64.rpm
I get the following compile errors from the experimental logger
class:
/usr/include/dmd/phobos/std/experimental/logger/core.d(702):
Error: long has no effect in expression (cast(ubyte)160u)
/usr/include/dmd/phobos/std/experimental/logger/core.d(700):
Error: long has no effect in expression (cast(ubyte)128u)
/usr/include/dmd/phobos/std/experimental/logger/core.d(698):
Error: long has no effect in expression (cast(ubyte)96u)
... etc. going on for each instance of the enum core.LogLevel
that I use
in my code.
Has anyone else seen this problem with the newest DMD? Also, is
there a work around. I'm happy to provide any further
information desired to debug the problem as I'm trying to bring D
into my worksite to replace code that we've previously written
using a combination of Python and C.
Thanks
More information about the Digitalmars-d-learn
mailing list