C2450: Expected: ; = ,

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

C2450: Expected: ; = ,

1,733件の閲覧回数
fabian_lanzini
Contributor I

Hello,

 

I'm trying to compile a part of a program that should work normally but I don't understand why this error appear.
It should be a very simple problem but I can't resolve it.
Here's the following code :

 

#ifndef _MC9S08DZ60_H
#define _MC9S08DZ60_H

typedef unsigned char   byte;     >>>>>    C2450: Expected: ; = ,
 
#endif

 Thank you for the help if someone has an idea

 

Best regards

ラベル(1)
0 件の賞賛
返信
1 返信

1,008件の閲覧回数
CrasyCat
Specialist III

Hello

 

Here I would suggest you to generate the preprocessor listing for of the C source file where you get the message and check how the macro are expanded.

 

Byte might be defined differently some other place.

 

CrasyCat

0 件の賞賛
返信