what's going on here?
lcc does not recognize "__attribute__(interrupt)." It instead parses
that as a start of a non-prototype function definition that has a
name "__attribute__" and a parameter "interrupt." After that, it
encounters "pj0ISR(void)" or "irqISR(void)" that is recognized as
a (old-style) parameter declaration, but since there is no parameter
with such a name, it complains saying the message you quoted in the
title.
If that "interrupt" attribute is not really necessary on your
machine, you can simply
#define INTERRUPT
to get around the problem.
--
Jun, Woong (woong.jun at gmail.com)