PIC14: bool + __naked

Help
2008-05-15
2013-03-12
  • Kersten Tams
    Kersten Tams
    2008-05-15

    hi,
    I am new to SDCC. So I have some questions:
    I have tried to port from the HiTech Compiler to SDCC.
    I have declared bool variables:
    bool bStartMM;
    But SDCC comes up with the error
    syntax error: token -> bStartMM ; column 16
    Can anyone tell me please, what I make wrong?

    Second:
    I define the interrupt like this:

    void isr(void) __interrupt 0 __naked

    the same error occured. What is wrong?
    I want to save the register in my code.

    Thanks,
    Kersten Tams