Also in futz code that has "void reset(void);" was failing, But i changed the name for all the reset(); functions to resetled();/void resetled(void); and works now. It was saying that reset had a body at the line where the rest function was setting all the led's to 0 duty cycle.
it seems that void reset(void ) is "Declared in boostc.h" as "(inline function)“Soft ”resets the CPU.Please note that “soft ”reset may differ
from hardware reset in the way how SFRs get initialised."
and as I read more about system.h its also includes boostc.h so
#include <boostc.h>
is not needed. witch was also in futz's code.