[Bf-committers] Compilation, msvc 7.1 and scons : problem with an array statement in sculptmode.c

jean-michel soler jmsoler at free.fr
Thu Mar 15 20:23:55 CET 2007


void calc_flatten_center(Mesh *me, ActiveData *node, const EditData *e, 
float co[3])
{
    const int FTOT = 10;
    ActiveData *outer[FTOT];
    int i;

Does not compile, error on the constant FTOT used in the array,
No problem with:

void calc_flatten_center(Mesh *me, ActiveData *node, const EditData *e, 
float co[3])
{
    const int FTOT = 10;
    ActiveData *outer[10];
    int i;

jms





More information about the Bf-committers mailing list