[Bf-committers] Compilation error

Jürgen Herrmann shadowrom at me.com
Fri Jun 21 09:02:31 CEST 2013


Ok, this gets strange...

when I do this in rna_scene.c Line 120-128:

EnumPropertyItem proportional_editing_items[] = {
    {PROP_EDIT_OFF, "DISABLED", ICON_PROP_OFF, "Disable", "Proportional Editing disabled"},
    {PROP_EDIT_ON, "ENABLED", ICON_PROP_ON, "Enable", "Proportional Editing enabled"},
    {PROP_EDIT_PROJECTED, "PROJECTED", ICON_PROP_ON, "Projected (2D)",
                          "Proportional Editing using screen space locations"},
    {PROP_EDIT_CONNECTED, "CONNECTED", ICON_PROP_CON, "Connected",
                          "Proportional Editing using connected geometry only"}/*,
    {0, NULL, 0, NULL, NULL}*/
};

(You can comment out any of these items to make it work...)

It compiles fine. But I just don't see how this is related to the RNA_blender_cpp.h file
When I recompile RNA_blender_cpp.h is regenerated but the contents doesn't seem to change at all, but the build error is gone.


Am 21. Juni 2013 um 08:01 schrieb Jürgen Herrmann <shadowrom at me.com>:

> I tried to isolate the Problem and it seems to be r57608 that breaks the compilation on VC 2012.
> 
>
> Am 20. Juni 2013 um 23:24 schrieb Jürgen Herrmann <shadowrom at me.com>:
>
> > Hi,
> >
> >
> >
> > somewhere between r57600 and r57620 a strange error creeped into my CMake
> > Builds:
> >
> >
> >
> > http://www.pasteall.org/43357
> >
> >
> >
> > This seems to be a problem with the RNA generated files, when I change
> > RNA_blender_cpp.h lines 35299 – 35306 like this:
> >
> >
> >
> > /* Interpolation */
> >
> > enum ts_interpolation_enum {
> >
> > interpolation_NONE = 0,
> >
> > interpolation_BILINEAR = 1,
> >
> > interpolation_BICUBIC = 2,
> >
> > };
> >
> > inline ts_interpolation_enum interpolation(void);
> >
> > inline void interpolation(ts_interpolation_enum value);
> >
> >
> >
> > and RNA_blender_cpp.h line 53860 to this:
> >
> >
> >
> > ENUM_PROPERTY(ts_interpolation_enum, TransformSequence, interpolation)
> >
> >
> >
> > Everything compiles fine.
> >
> > I don’t get the problem though, interpolation_enum is used in many classes
> > within RNA_blender_cpp.h. but this one misbehaves O_o
> >
> >
> >
> > Building with scons/MinGW64 seems to be fine.
> >
> > VC 2008 Win64 buildbot compiles fine too (I started it accidentally)
> >
> > VC 2012 Win64 buildbot fails too

> >
> > So it seems to be a problem with the VC 11 compiler in some way :/
> >
> >
> >
> >
> >
> > /Jürgen
> >
> > _______________________________________________
> > Bf-committers mailing list
> > Bf-committers at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-committers
> _______________________________________________
> 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