Skip to content

Commit 1d7fd40

Browse files
committed
Merge pull request #516 from klickverbot/fix-version-format
Add 'v' back in at beginning of global.version.
2 parents 0e71a8c + f8531f1 commit 1d7fd40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

driver/ldc-version.cpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace ldc {
1313

1414
const char * const ldc_version = "@LDC_VERSION@";
15-
const char * const dmd_version = "@DMD_VERSION@";
15+
const char * const dmd_version = "v@DMD_VERSION@";
1616
const char * const llvm_version = "@LLVM_VERSION_STRING@";
1717

1818
}

driver/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static cl::list<std::string, StringsAdapter> debuglibs("debuglib",
8787

8888
void printVersion() {
8989
printf("LDC - the LLVM D compiler (%s):\n", global.ldc_version);
90-
printf(" based on DMD v%s and LLVM %s\n", global.version, global.llvm_version);
90+
printf(" based on DMD %s and LLVM %s\n", global.version, global.llvm_version);
9191
printf(" Default target: %s\n", llvm::sys::getDefaultTargetTriple().c_str());
9292
std::string CPU = llvm::sys::getHostCPUName();
9393
if (CPU == "generic") CPU = "(unknown)";

0 commit comments

Comments
 (0)