M
Mufe
Visual c++ compiler survives this:
#define THE_NULL -32767
struct typePair { int v2,v3; };
struct typeTriple { int v1; typePair p; };
typePair EMPTY_PAIR = {THE_NULL,THE_NULL};
typeTriple sv = {THE_NULL, EMPTY_PAIR };
Why does borland compiler return error
Cannot convert 'typePair' to 'int'
since typeTriple is defined as 2nd arg typePair.
It survives this
typeTriple sv = {THE_NULL, {THE_NULL, THE_NULL} };
Thank you
#define THE_NULL -32767
struct typePair { int v2,v3; };
struct typeTriple { int v1; typePair p; };
typePair EMPTY_PAIR = {THE_NULL,THE_NULL};
typeTriple sv = {THE_NULL, EMPTY_PAIR };
Why does borland compiler return error
Cannot convert 'typePair' to 'int'
since typeTriple is defined as 2nd arg typePair.
It survives this
typeTriple sv = {THE_NULL, {THE_NULL, THE_NULL} };
Thank you