Previously, I listed the function declaration in the function declaration as follows:
Void display_normal ();
Void display_reset ()
Void display_year ();
Void display_month ();
Void display_day ();
Void display_week ();
Void display_hour ();
Void display_minute ();
Void display_second ();
When I press built target: the error is as follows: This situation scared me! Finally, find the reason slowly. It turns out to be in the function declaration
Void display_reset () missed a small ";". After correction, there will be no more! Small error. A big problem!
Build target 'target 1'
Refreshing ing startup. a51...
Compiling clock. C...
Clock. C (47): Error c132: 'display _ year': Not in formal parameter list
Clock. C (48): Error c132: 'display _ month': Not in formal parameter list
Clock. C (49): Error c132: 'display _ Day': Not in formal parameter list
Clock. C (50): Error c132: 'display _ week ': Not in formal parameter list
Clock. C (51): Error c132: 'display _ hour ': Not in formal parameter list
Clock. C (52): Error c132: 'display _ minute ': Not in formal parameter list
Clock. C (53): Error c132: 'display _ second': Not in formal parameter list
Clock. C (60): Error c132: 'delay500ms': Not in formal parameter list
Clock. C (60): Error c141: syntax error near '{'
Clock. C (61): Error c136: 'I': 'void' on Variable
Clock. C (61): Error c132: 'I': Not in formal parameter list
Clock. C (61): Error c136: 'J': 'void' on Variable
Clock. C (61): Error c132: 'J': Not in formal parameter list
Clock. C (61): Error c136: 'K': 'void' on Variable
Clock. C (61): Error c132: 'K': Not in formal parameter list
Clock. C (62): Error c141: syntax error near''
Clock. C (62): Error c141: syntax error near '=', Expected ')'
Clock. C (62): Error c129: Missing '; 'before'>'
Target not created