I hate 'C' with a passion.
The following compiled fine when used with a different compiler, but causes the error message in the title with this one.
_asm ("rim"); // Enable Interrupts
I also get this fatuous error message.
'_asm': funcdef requires ANSI-parameter list
Why does it need a parameter list? There are no parameters I simply want to execute the assembler instruction RIM which resets the interrupt mask.
I've tried sticking 'void' and assorted random punctuation at various points in the line with no success. As far as I can see the syntax of C has little rhyme or reason and makes me want to puke
;
Can anyone assist and help me calm down...?
Del
Error expected ; at end of line, missing } etc... WALOOB
"Almost" Good Answers: