D.gnu - import differences between GDC and DMD
- Thomas Kuehne (20/21) May 14 2005 -----BEGIN PGP SIGNED MESSAGE-----
- David Friedman (6/41) May 14 2005 For GDC, use the -fall-sources flag:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --- [a.d] ---
module some.name;
void test(){
}
- --- [b.d] ---
import some.name;
int main(){
	test();
	return 0;
}
- -------------
The following succeds with DMD, but not with GDC:
 dmd a.d b.d
Thomas
-----BEGIN PGP SIGNATURE-----
iD8DBQFChckc3w+/yD4P9tIRAoQIAJ405/CGPBjmIB33HEruuHixGcC96gCbB6zr
SUaCv0oEgzVFCxcKUDjjgmA=
=XnSc
-----END PGP SIGNATURE-----
 May 14 2005
Thomas Kuehne wrote:
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 - --- [a.d] ---
 
 module some.name;
 
 void test(){
 }
 
 - --- [b.d] ---
 
 import some.name;
 
 int main(){
 	test();
 	return 0;
 }
 
 - -------------
 
 The following succeds with DMD, but not with GDC:
 
dmd a.d b.d
 
 
 Thomas
 
 
 -----BEGIN PGP SIGNATURE-----
 
 iD8DBQFChckc3w+/yD4P9tIRAoQIAJ405/CGPBjmIB33HEruuHixGcC96gCbB6zr
 SUaCv0oEgzVFCxcKUDjjgmA=
 =XnSc
 -----END PGP SIGNATURE-----
For GDC, use the -fall-sources flag:
dmd -fall-sources a.d b.d
This option is not on by default because it really bogs down if there 
are a lot of source files.
David
 May 14 2005








 
  
  
  David Friedman <d3rdclsmail_a_ _t_earthlink_d_._t_net>
 David Friedman <d3rdclsmail_a_ _t_earthlink_d_._t_net>