Empty declaration error for ISR

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Empty declaration error for ISR

ソリューションへジャンプ
1,976件の閲覧回数
SSK
Contributor I
Hello forum members,
 
I am using Codewarrior 4.6 build 6345 with MC9S12A128B. I am trying to use interrupt for SCI0 but while compiling the code , it gives following error(s) -
Error   : C1017: Empty declaration
STT25x.c line 85  
Error   : C2801: ';' missing
STT25x.c line 85  
Error   : Compile failed
 
I am also attaching a snap of the error. Your earliest help is highly appreciated.
 
Thanking you in advance.
ラベル(1)
タグ(1)
0 件の賞賛
1 解決策
488件の閲覧回数
CrasyCat
Specialist III
Hello
 
Looks like something weird happens after pre-processing.
Did you look at the pre-processor listing for this source file?
 
To generate preprocessor listing:
  - Click with the right mouse button on the file name in the .mcp window
  - select preprocess
    A new window containing preprocessing listing should be opened in the IDE.
    Look at the preprocessing code generated.
 
You may have a #define somewhere, which is redefining something....
 
CrasyCat

元の投稿で解決策を見る

0 件の賞賛
1 返信
489件の閲覧回数
CrasyCat
Specialist III
Hello
 
Looks like something weird happens after pre-processing.
Did you look at the pre-processor listing for this source file?
 
To generate preprocessor listing:
  - Click with the right mouse button on the file name in the .mcp window
  - select preprocess
    A new window containing preprocessing listing should be opened in the IDE.
    Look at the preprocessing code generated.
 
You may have a #define somewhere, which is redefining something....
 
CrasyCat
0 件の賞賛