Undefined reference error when array size is given
Steven Schveighoffer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jan 19 13:40:47 PST 2015
On 1/19/15 4:27 PM, Steven Schveighoffer wrote:
> On 1/19/15 4:16 PM, ketmar via Digitalmars-d-learn wrote:
>> On Mon, 19 Jan 2015 21:00:55 +0000
>> tcak via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com> wrote:
>>
>>> What is the reason of this error exactly?
>> "core.sys.posix.poll.d" module is not compiled into druntime. as it is
>> in "include" path, compiler sees it and you can use `pollfd` struct.
>> but as it's not in link library, there is no `.init` section for it.
>
> I think this not the root cause. Of course poll.d should be in druntime,
> if applicable.
>
> What I likely think is that he is compiling on a platform where poll.d
> is not supported.
>
> Can you give more info on your build environment?
I take it back, this happens on my system OSX where it shouldn't.
I will investigate, seems like a build bug.
-Steve
More information about the Digitalmars-d-learn
mailing list