diff options
author | mszulecki | 2007-02-26 02:28:05 +0000 |
---|---|---|
committer | mszulecki | 2007-02-26 02:28:05 +0000 |
commit | 09f526cd1dc150b10db6439d2f1dbb0d3107060c (patch) | |
tree | 0ce421c2f8555463e4ff97518ef07274046d4625 /src | |
parent | de41ac9f6d7d3ee046719d69adf504b02ead30a2 (diff) | |
download | dskel-09f526cd1dc150b10db6439d2f1dbb0d3107060c.tar.gz dskel-09f526cd1dc150b10db6439d2f1dbb0d3107060c.tar.bz2 |
Add gdc version to config.d and show it in helloworld.
git-svn-id: http://svn.sukimashita.com/repos/dskel/trunk@17 4281df72-ff29-0410-8fee-2d9ac0c5f5a7
Diffstat (limited to 'src')
-rw-r--r-- | src/catalog.d | 2 | ||||
-rwxr-xr-x | src/helloworld.d | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/catalog.d b/src/catalog.d index ff48a58..fd60545 100644 --- a/src/catalog.d +++ b/src/catalog.d @@ -2,7 +2,7 @@ module catalog; public static class Catalog { - public static void Init(char[] p, char[] localedir) + public static void Init(char[] packageid, char[] localedir) { } diff --git a/src/helloworld.d b/src/helloworld.d index 05ed01b..db25741 100755 --- a/src/helloworld.d +++ b/src/helloworld.d @@ -13,6 +13,8 @@ void main(char[][] args) writefln(HelloWorldFactory.getName() ~ ", " ~ HelloWorldSharedObjectFactory.getVersion() ~ " " ~ config.VERSION); + writefln("Compiled using: " ~ config.GDC_VERSION); + // auto type inference and built-in foreach foreach (argc, argv; args) { |