Calling C functions

Jesse Phillips jessekphillips+D at gmail.com
Thu Dec 9 13:04:26 PST 2010


CrypticMetaphor Wrote:

> On 12/9/2010 5:28 PM, Steven Schveighoffer wrote:
>
> > Yes please, and be sure to specify that it correctly does not compile on
> > linux. http://d.puremagic.com/issues/enter_bug.cgi
>
> > -Steve
> 
> Alright then!
> 
> I submitted a my first bug report and added __gshared in front of 
> globalFromD and the output was:
> 
> 100
> 500
> 
> So it worked. thanks!

It is a linker bug, so Oplink is at fault. What is the bug number you submitted?


More information about the Digitalmars-d-learn mailing list