This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I meet the problem : 5623.H(4): error C129: missing ';' before 'data'

//5623.h
extern DEVICE_REQUEST data ep0_cmd;

//usb.h
typedef struct
{
/*
*/
}DEVICE_REQUEST;

//define.c
DEVICE_REQUEST data ep0_cmd _at_ 0x18 = {0};

Build target 'Target 1'
compiling main.c...
5623.H(4): error C129: missing ';' before 'data'
compiling motor.c...
5623.H(4): error C129: missing ';' before 'data'
compiling scsi.c...
5623.H(4): error C129: missing ';' before 'data'
compiling usb.c...
5623.H(4): error C129: missing ';' before 'data'
compiling define.c...
5623.H(4): error C129: missing ';' before 'data'
Target not created