I'm getting a warning "enumeration type mixed with another type" with the following line of code.
typedef enum { FALSE = 0, TRUE = !FALSE } bool; bool bResult; bool bAAA; bool bBBB; bResult = bAAA && bBBB; // <-- warning bResult = (bAAA == TRUE) && (bBBB == TRUE); // <-- same results
Any suggestions?