Open MPI with D
SeeWebsiteForEmail at erdani.org
Fri Nov 25 11:34:59 PST 2011
On 11/25/11 11:30 AM, Max Samukha wrote:
> On 11/25/2011 06:52 PM, Andrei Alexandrescu wrote:
>> As I wrote, on OSX the definitions do link so they exist.
> Are you defining the variables or referencing them?
> extern(C) int x; means definition and of course it will link because it
> is you who defines the variable.
> extern extern(C) int x; means declaration and won't link if there is no
> definition somewhere else.
> I know that standard libs in MinGW gcc, DMC and MSVC do define those
> variables. I doubt they exist in non-MinGW gcc, including the one used
> on OSX.
Oh, I see. Thanks for enlightening me. So apparently I defined those
More information about the Digitalmars-d