XC8 cannot set function to ISR_Vector
I`m using the PIC18F1320 together with the MPLAB X IDE 5.40 plus XC8 v2.10.
I want to place a function to the ISR-Vector, so as desribed in the docs, I used the "void interrupt isr(void)" instruction for it. But when I`m duing this, I get a error message, that the compiler is detecting a incomplete type "void" and expecting a ";" after top level declarator. See the picture.
What I have to do else, that the compiler is satisfied.
Thank you for the support