diff dmd/backend/glue.d @ 184:9f4e5ac4f0a3

One step closer to building on posix. There are two missing symbols so it actually doesn't build but previously it didn't build correctly anyway.
author Jacob Carlborg <doob@me.com>
date Tue, 02 Nov 2010 08:46:11 +0100
parents 190ba98276b3
children
line wrap: on
line diff
--- a/dmd/backend/glue.d	Mon Oct 25 15:36:13 2010 +0200
+++ b/dmd/backend/glue.d	Tue Nov 02 08:46:11 2010 +0100
@@ -53,7 +53,12 @@
 }
 
 version (CPP_MANGLE)
-	extern (C++) char* cpp_mangle(Dsymbol s);
+{
+	string cpp_mangle(Dsymbol s)
+	{
+		assert(false, "port c++ mangling");
+	}
+}
 
 import std.exception;
 import std.string;