I defined enumeration with name hs_enum_test in a header file.As follows
typedef enum hs_enum_test
{
HS_ONE ,
HS_TWO
}hs_enum_test_t;
After that i included that header file in a CPP file.I called a function like hs_enum_test(TRUE),but carbide.c++ is not giving any error , instead it is giving "statement has no effect".Why is it not giving any compile error?.And what is effect of it in code.




