digitalmars.D - Ben Hinkle: fast fix for .offsetof bug
- "Uwe Salomon" <post uwesalomon.de> Jul 04 2005
- "Tim M" <a b.com> Nov 07 2008
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
Jul 04 2005
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
Nov 07 2008








"Tim M" <a b.com>