[Bf-committers] Makesdna fails with "wrong" pointer syntax
contact at steamreview.org
Mon Mar 5 10:04:43 CET 2012
I don't mind if it throws an error, just so long as it throws one.
On 05/03/2012 12:31, Joshua Leung wrote:
> 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
> Bf-committers mailing list
> Bf-committers at blender.org
More information about the Bf-committers