kiith-sa / tharsis.prof

Frame profiler library for game development in D.
Boost Software License 1.0
23 stars 2 forks source link

dmd 2.072 errors: string concat, overlap pointer in @safe #3

Open SimonN opened 8 years ago

SimonN commented 8 years ago

dmd 2.072 has been released on 2016-10-30, changelog of dmd 2.072. Now, D source must adhere to slightly stricter semantics. Errors and deprecations in tharsis.prof 0.5.4:

tharsis\prof\accumulatedzonerange.d(109,19): Deprecation: Implicit string concatenation is deprecated, use "ZRange parameter of accumulatedZoneRange must be a forward range of " ~ "ZoneData, e.g. ZoneRange" instead
tharsis\prof\accumulatedzonerange.d(117,16): Deprecation: Implicit string concatenation is deprecated, use "storage param of accumulatedZoneRange must be long enough to hold zones " ~ "from all passed zone ranges" instead
tharsis\prof\despikersender.d(235,14): Deprecation: Implicit string concatenation is deprecated, use "Failed to start Despiker.\x0a " ~ "Tried to look for it in:\x0a " instead
tharsis\prof\despikersender.d(239,14): Deprecation: Implicit string concatenation is deprecated, use "1: working directory, 2: directory of the running binary, 3: PATH.\x0a" ~ "Got errors:\x0a" instead
tharsis\prof\ranges.d(166,19): Deprecation: Implicit string concatenation is deprecated, use "ERange parameter of VariableRange must be a forward range of Event, " ~ " e.g. EventRange" instead
tharsis\prof\ranges.d(206,20): Deprecation: Implicit string concatenation is deprecated, use "Non-empty VariableRange with empty " ~ "events_ must have non-default variableTime_" instead
tharsis\prof\ranges.d(346,19): Deprecation: Implicit string concatenation is deprecated, use "ERange parameter of ZoneRange must be a forward range of Event, e.g. " ~ "EventRange" instead
tharsis\prof\ranges.d(765,9): Error: field Event.info_ cannot access pointers in @safe code that overlap other fields
tharsis\prof\ranges.d(784,17): Error: field Event.info_ cannot access pointers in @safe code that overlap other fields