[Prev][Next][Index]
Compiler warning
- Date: Wed, 4 Oct 1995 17:42:22 -0700
- From: pedro@cs.ucsb.edu (Pedro N. Diniz)
- To: sage-bugs@extreme.indiana.edu
- Subject: Compiler warning
- Sender: owner-sage-bugs@extreme.indiana.edu
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