I am programming microcontroller MC9S12NE64 in C++. I can create class as following:
class relay {
private:
int m_bit;
int m_state;
public:
.
some methods...
.
};
however, if I want to add another one variable, the compiler throw this error:
internal error #432 in 'f:\build\Products\Hiware\cw_hc12_Build_Tools\hiware\srs\COMPILER\BACK\HC12\Glbreg.c' while compiling file '....\main.cpp', procedure 'main', please report to Freescale
what is wrong with such declaration:
class relay {
private:
char *m_title;
int m_bit;
int m_state;
public:
.
some methods...
.
};
Thanks for answers...