internal error #432 while compiling code with class definition

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

internal error #432 while compiling code with class definition

1,765 次查看
Hall
Contributor I
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...
标签 (1)
0 项奖励
回复
1 回复

901 次查看
JimDon
Senior Contributor III
The problem is that c++ is not used much in this domain.

I think you should submit a service request.
0 项奖励
回复