Code fails with linker error. Why?
eles via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Oct 4 03:37:39 PDT 2014
On Saturday, 4 October 2014 at 10:27:18 UTC, John Colvin wrote:
> On Saturday, 4 October 2014 at 04:02:46 UTC, eles wrote:
>> On Friday, 3 October 2014 at 15:47:33 UTC, John Colvin wrote:
>>> On Friday, 3 October 2014 at 15:44:16 UTC, eles wrote:
> So the compiler has no way of knowing whether you've forgotten
> to include a definition, or whether it's simply sitting in some
> other object file / library / whatever. The linker, however,
> can know, hence the linker error.
No "extern" required?...
More information about the Digitalmars-d-learn
mailing list