C2450: Expected: ; = ,

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

C2450: Expected: ; = ,

1,182 Views
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

Labels (1)
0 Kudos
1 Reply

457 Views
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 Kudos