Petr Dolezel

internal error #432 while compiling code with class definition

Discussion created by Petr Dolezel on Sep 10, 2008
Latest reply on Sep 10, 2008 by Jim Donelson
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...

Outcomes