How to handle differrnt modules which has same file name ?
z_axis
z_axis at 163.com
Tue Nov 20 03:57:28 PST 2007
For ezample, the directory is as below:
d:\src\p1\a.d
d:\src\p2\a.d
d:\src\test.d
import p1.a;
import p2.a;
void main(char[][] args) {
//...
}
d:\src\dmd -O -release -w -L/SUBSYSTEM:windows:5 test.d p1\a.d p2\a.d
compling is ok however cannot link !!! because p2.a.obj will overwrite
p1.a.obj. then there is only one a.obj in d:\src !!!
what is the best way to solve this problem ?
regards!
More information about the Digitalmars-d-learn
mailing list