Questions tagged [dmd]

Dmd stands for the Digital Mars D compiler.

The reference D compiler.

Usage:

Use as a generic tag.

199 questions
0
votes
1 answer

Example from D book isn't working, odd error

All, I'm using Xamarin Studio 4.08 and Mono-D to program D with the DMD2 compiler. When I try to compile the following (from The D Programming Language - Alexandrescu, 2010- Page 10): import std.array; bool binarySearch(T)(T[] input, T value) { …
nerdenator
  • 1,265
  • 2
  • 18
  • 35
0
votes
2 answers

Detect Non-Mutating Call Statements to Pure Functions in D

I believe D has the potential to add yet another cool feature to its suite of compilers, namely the power to disallow non-side-effect calls to pure functions. For example auto s = "a"; toStringz(a); should error just like a == ""; currently errors…
Nordlöw
  • 11,838
  • 10
  • 52
  • 99
0
votes
1 answer

can you link D object files with C object files?

Let's say I have two source files, one written in the D programming language and the other one written in the C programming language. I both just compile them, the D source with the DMD (Digital Mars D-Compiler) and the C source with the GCC…
Marnix v. R.
  • 1,638
  • 4
  • 22
  • 33
-2
votes
3 answers

Compile error for D program file in windows

I have just installed D programming language(dmd installer) and wrote a small program helloworld.d , but when I run in my windows in command promote using this command: C:/D>dmd helloworld.d it is giving error saying: "dmd is not recognized as an…
sahil solanki
  • 507
  • 6
  • 20
1 2 3
13
14