April 05, 2008 Who defines __fhnd_info[_NFILE] ? | ||||
|---|---|---|---|---|
| ||||
It appears in these two places: phobos/std/stdio.d:321: if (__fhnd_info[fp._file] & FHND_WCHAR) phobos/std/c/stdio.d:103: extern ubyte __fhnd_info[_NFILE]; But I can't figure out how it's supposed to get resolved. A recent change to Tangobos and/or Tango made it so the symbol isn't getting found any more at link time. I can't figure out how to fix it. Help appreciated. --bb | ||||
April 05, 2008 Re: Who defines __fhnd_info[_NFILE] ? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Bill Baxter | Bill Baxter wrote:
> It appears in these two places:
> phobos/std/stdio.d:321: if (__fhnd_info[fp._file] & FHND_WCHAR)
> phobos/std/c/stdio.d:103: extern ubyte __fhnd_info[_NFILE];
>
> But I can't figure out how it's supposed to get resolved.
>
> A recent change to Tangobos and/or Tango made it so the symbol isn't getting found any more at link time. I can't figure out how to fix it.
>
> Help appreciated.
Always happens. Spend an hour getting nowhere trying to figure something out, then right after you post about it, you finally figure it out.
__fhnd_info needs to be extern(C). That was the mistake.
(Larsivi -- you can ignore the message I sent you via the tango email address. Tangobos should be working on Windows again now.)
--bb
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply