Fix all deprecation warnings on 2.071.0-b1, except for std.stream.
std.stream is still needed to support UTF filenames.
1 parent cb1a20a commit 0337714cb2b35962a97ee990f198be9a3422c08a
@Sönke Ludwig Sönke Ludwig authored on 5 Apr 2016
Showing 8 changed files
View
2
■■■
source/dub/compilers/buildsettings.d
 
/// BuildPlatform specific settings, like needed libraries or additional
/// include paths.
struct BuildSettings {
import dub.internal.vibecompat.data.serialization;
import dub.internal.vibecompat.data.serialization : byName;
 
TargetType targetType;
string targetPath;
string targetName;
View
1
■■■■
source/dub/description.d
/// Targets by name
ref inout(TargetDescription) lookupTarget(string name) inout
{
import std.exception : enforce;
auto pti = name in targetLookup;
enforce(pti !is null, "Target '"~name~"' doesn't exist. Is the target type set to \"none\" in the package recipe?");
return targets[*pti];
}
View
source/dub/generators/generator.d
View
source/dub/generators/targetdescription.d
View
source/dub/internal/sdlang/lexer.d
View
source/dub/internal/sdlang/token.d
View
source/dub/recipe/io.d
View
source/dub/recipe/sdl.d