check this out:
this compiles fine on iPhone:
typedef int ATYPE;
void AFunc()
{
ATYPE ATYPE;
ATYPE = 1337;
}
this compiles fine on iPhone:
typedef int ATYPE;
typedef ATYPE _ATYPE;
struct AStruct
{
_ATYPE ATYPE;
};
void AFunc()
{
AStruct bob;
bob.ATYPE = 1337;
}
but this does NOT:
typedef int ATYPE;
struct AStruct
{
ATYPE ATYPE;
};
void AFunc()
{
AStruct bob;
bob.ATYPE = 1337;
}
the above compiles fine on other platforms though.
I suppose we can work around it by doing that second example, but does anyone know why this is?