July 04, 2005 Ben Hinkle: fast fix for .offsetof bug | ||||
---|---|---|---|---|
| ||||
Sorry Ben, i already deleted your announce messages for the FooInfo property stuff... I found a solution for this offsetof thing. Use #### Foo.init.x.offsetof #### instead of #### Foo.x.offsetof #### Works like a charm. Ciao uwe |
November 08, 2008 Re: Ben Hinkle: fast fix for .offsetof bug | ||||
---|---|---|---|---|
| ||||
Posted in reply to Uwe Salomon | I really need a sollution for this bug. I'm using dmd 1.035 but that workaround causes the same error but strangely it reports the line number of the error where the struct is defined and not the code calling the StructName.init.propertyName.offsetof On Tue, 05 Jul 2005 07:50:40 +1200, Uwe Salomon <post@uwesalomon.de> wrote: > Sorry Ben, i already deleted your announce messages for the FooInfo property stuff... I found a solution for this offsetof thing. Use > > #### > Foo.init.x.offsetof > #### > > instead of > > #### > Foo.x.offsetof > #### > > Works like a charm. > > Ciao > uwe |
Copyright © 1999-2021 by the D Language Foundation