Hi, I have this program which compiles in gcc but having an error
compiling in g++. The error is conflicting declaration. Here is the
declaration and one being pointed at by the compiler:


typedef struct {
    struct SDTNode* child[MAXKEYNUM];     <---- this one
    void* data;
} SDTNode;                          <-- and this one


typedef struct {
    SDTNode* head[MAXKEYNUM];
} SDTTree;

Is there an option in the g++ compiler that can be used that I can
preserved the code structure besides changing it to void* ?
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to