[Prev][Next][Index]

Compiler warning




Hello,

I'm having some trouble getting a file accross the Sage pC++ compiler.

Here is the message I got back and don't understand why:

class leaf : public node {
   int num_bodies;
   body* bodyp[MAX_BODIES_PER_LEAF];    // bodies of leaf
public:
// omitted code here
void    setBodyp(int idx, body *p) { bodyp[idx] = p; } // Line 514
// omitted code here
};

The pC++ complaints on line 514 with the following message:

Warning on line 514 of code.C:  illegal type combination


Can any of you help me understand what is wrong here>?

Thanks,

Pedro