Crazy compile time errors with DMD 2.075.1 & 2.076.0

Joel via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Sep 3 21:03:51 PDT 2017


One of my small programs doesn't compile any more since, said, 
DMD versions.

I've got other programs that do work, but I can't see what's 
different about them?!

I'm using macOS.

[1] Here is the program and stuff. It uses DSFML 2.1.1, but I 
haven't added the dynamic files for it.

giver ~master: building configuration "application"...
/usr/local/opt/dmd/include/dlang/dmd/std/datetime/systime.d(7652,52): Error: std.datetime.date.splitUnitsFromHNSecs!"days".splitUnitsFromHNSecs at /usr/local/opt/dmd/include/dlang/dmd/std/datetime/date.d(9997,6) conflicts with core.time.splitUnitsFromHNSecs!"days".splitUnitsFromHNSecs at /usr/local/opt/dmd/include/dlang/dmd/core/time.d(4250,6)
/usr/local/opt/dmd/include/dlang/dmd/std/datetime/systime.d(7660,58): Error: std.datetime.date.splitUnitsFromHNSecs!"hours".splitUnitsFromHNSecs at /usr/local/opt/dmd/include/dlang/dmd/std/datetime/date.d(9997,6) conflicts with core.time.splitUnitsFromHNSecs!"hours".splitUnitsFromHNSecs at /usr/local/opt/dmd/include/dlang/dmd/core/time.d(4250,6)
/usr/local/opt/dmd/include/dlang/dmd/std/datetime/systime.d(7661,62): Error: std.datetime.date.splitUnitsFromHNSecs!"minutes".splitUnitsFromHNSecs at /usr/local/opt/dmd/include/dlang/dmd/std/datetime/date.d(9997,6) conflicts with core.time.splitUnitsFromHNSecs!"minutes".splitUnitsFromHNSecs at /usr/local/opt/dmd/include/dlang/dmd/core/time.d(4250,6)
../JMiscLib/source/jmisc/base.d(33,19): Error: template instance 
std.datetime.systime.SysTime.opCast!(DateTime) error instantiating
../JMiscLib/source/jmisc/base.d(23,4): Error: template instance 
jmisc.base.upDateStatus!string error instantiating
../JecLib/source/jec/input.d(357,26): Error: void has no value
../JecLib/source/jec/input.d(357,26): Error: incompatible types 
for ((dateTimeString()) ~ (" ")): 'void' and 'string'
../JecLib/source/jec/input.d(274,17): Error: template instance 
jec.input.InputJex.addToHistory!dstring error instantiating
source/app.d(31,7): Error: no property 'setupBoardPieces' for 
type 'int'
dmd failed with exit code 1.

[1] 
https://www.dropbox.com/s/eofa70od1hlk6ok/ArchiveOddCompileErrors.zip?dl=0



More information about the Digitalmars-d-learn mailing list