Linking C & extern(C) on OS X: duplicate symbols not flagged
"Luís
"Luís
Fri Aug 30 07:10:09 PDT 2013
On Friday, 30 August 2013 at 06:37:07 UTC, Jacob Carlborg wrote:
> How does it behave on Mac OS X if you just use C?
That fails, as expected.
(I tried to explain that, I'm sorry if I wasn't clear: )
>> On OS X no error is flagged, and the C function is always
>> called, irrespective of which order I specify the .o files to
>> link. Yet, compiling and linking two .c files with a
>> duplication symbol does give an error on the linking phase, as
>> expected.
More information about the Digitalmars-d
mailing list