December 02, 2004 Variadic functions don't work with bit arrays | ||||
---|---|---|---|---|
| ||||
Calling a function with a variadic argument list (with D linkage) that contains a bit array (either dynamic or static) does not work and produces the following output: undefined reference to `_init_11TypeInfo_Ab' I'm sure there's a generic form to that mangled name, but that's what I get speficially. That error appears on the function call itself, with an incorrect line number. I know it's on the call because it tells me what function the error is in, and its the one with the call. |
December 02, 2004 Re: Variadic functions don't work with bit arrays | ||||
---|---|---|---|---|
| ||||
Posted in reply to James Dunne | On Thu, 2 Dec 2004 02:48:13 +0000 (UTC), James Dunne <jdunne4@bradley.edu> wrote: > Calling a function with a variadic argument list (with D linkage) that contains > a bit array (either dynamic or static) does not work and produces the following > output: > > undefined reference to `_init_11TypeInfo_Ab' > > I'm sure there's a generic form to that mangled name, but that's what I get > speficially. That error appears on the function call itself, with an incorrect > line number. I know it's on the call because it tells me what function the > error is in, and its the one with the call. > > Ab is array of bits mangled (duh :D). I'm surprised Walter included bit arrays, IMCSO (In My Completley Stupid Opinion) they're nothing but trouble. <goes off grumbling about compliler writers these days...> -- "Unhappy Microsoft customers have a funny way of becoming Linux, Salesforce.com and Oracle customers." - www.microsoft-watch.com: "The Year in Review: Microsoft Opens Up" "Changes/Additions -------------------------------------------------------------------------------- HL2DM released! " - HL2DM changelog "#$#@% YES!" - ME |
Copyright © 1999-2021 by the D Language Foundation