[Bf-committers] Makesdna fails with "wrong" pointer syntax
Joshua Leung
aligorith at gmail.com
Mon Mar 5 01:31:30 CET 2012
Legal but semantically confusing:
ID* a, b, c; <--- only a is pointer, b and c are not.
IMO this is bad style, and I'm glad that makesdna actually ends up
enforcing it, albeit with a confusing error message. So, a big -1 to
this idea from me.
On Mon, Mar 5, 2012 at 1:20 PM, Tom Edwards <contact at steamreview.org> wrote:
> Hi everyone. I just spent 1hr+ hunting an annoying bug down. The
> following declaration in a DNA header will cause makesdna to fail with a
> generic "strut unknown" error, despite being entirely legal:
>
> ID* data;
>
> Putting the space in front of the asterisk avoids the problem. Fix
> please? :)
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
More information about the Bf-committers
mailing list