C2450: Expected: ; = ,

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

C2450: Expected: ; = ,

1,730 次查看
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,005 次查看
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 项奖励
回复