www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Porting code from Windows to Linux, Mac OS X

reply AdC <andrea.de.carolis uniroma2.it> writes:
Ciao! I'm using D to code a multiplatform networking software. I downloaded and
tried the latest version of the compiler for both windows, linux and OSX but
what works under Windows does not even compile in Linux and Mac OS X
enviroinments: the DMD2 compiler ends up complaining about cannot call a shared
functions with bool parameters (I used somewhere functions decladerd as
synchronised bool).
It looks like the D language itself evolved somewhere between *nix version and
current windows version.... more likely I'm loosing something ;-) please help!
AdC
Nov 17 2009
parent Jesse Phillips <jessekphillips gmail.com> writes:
On Tue, 17 Nov 2009 05:53:06 -0500, AdC wrote:

 Ciao! I'm using D to code a multiplatform networking software. I
 downloaded and tried the latest version of the compiler for both
 windows, linux and OSX but what works under Windows does not even
 compile in Linux and Mac OS X enviroinments: the DMD2 compiler ends up
 complaining about cannot call a shared functions with bool parameters (I
 used somewhere functions decladerd as synchronised bool). It looks like
 the D language itself evolved somewhere between *nix version and current
 windows version.... more likely I'm loosing something ;-) please help!
 AdC
Could you provide a code snippet of what doesn't work, and the exact message created by the compiler?
Nov 17 2009