On Tuesday, 26 June 2012 at 19:50:15 UTC, Graham Fawcett wrote:
You should also be able to do this:
rdmd --build-only jeteste.d
Normally, the rdmd tool will compile and immediately execute
the "jeteste" program. Rdmd is "smarter" than dmd, because it
will calculate all the files that you n
On Tuesday, 26 June 2012 at 17:23:58 UTC, le TeXnicien de surface
wrote:
On Tuesday, 26 June 2012 at 17:14:07 UTC, Jesse Phillips wrote:
On Tuesday, 26 June 2012 at 16:55:56 UTC, le TeXnicien de
surface wrote:
and I obtain this message:
jeteste.o: In function `_Dmain':
jeteste.d:(.text._Dmai
On Tuesday, 26 June 2012 at 17:14:07 UTC, Jesse Phillips wrote:
On Tuesday, 26 June 2012 at 16:55:56 UTC, le TeXnicien de
surface wrote:
and I obtain this message:
jeteste.o: In function `_Dmain':
jeteste.d:(.text._Dmain+0x1e): undefined reference to
`_D4truc5carreFdZd'
collect2: ld a retourn
On Tuesday, 26 June 2012 at 16:55:56 UTC, le TeXnicien de surface
wrote:
and I obtain this message:
jeteste.o: In function `_Dmain':
jeteste.d:(.text._Dmain+0x1e): undefined reference to
`_D4truc5carreFdZd'
collect2: ld a retourné 1 code d'état d'exécution
--- errorlevel 1
where do I err?
an
hello all
I'm begining to learn to program with D.
I've made this tiny module written in file truc.d
module truc;
double carre(double x){
return x*x;
}
and this tiny program written in file jeteste.d
import truc; // I've also tried import T = truc;
import std.stdio;
double cube(doubl