hi,
i need to import a header file of CAN-driver.
when importing the header file i get the following errors in the logfile:
Parsing Summary:
"D:\lib\flexcan_driver.h":LINE 39 *** syntax error on input entry_ptr
"D:\lib\flexcan_driver.h":LINE 39 *** parsing resumes after ';'
"D:\lib\flexcan_driver.h":LINE 61 *** syntax error on input can_ptr
"D:\lib\flexcan_driver.h":LINE 62 *** parsing resumes after ';'
"D:\lib\flexcan_driver.h":LINE 65 *** syntax error on input can_ptr
"D:\lib\flexcan_driver.h":LINE 66 *** parsing resumes after ';'
the mentioned lines are:
typedef struct struct_entry {
uint_32 flag;
int_32 id, len, timestamp;
uchar data[8];
LWSEM_STRUCT semaphore;
} entry, _PTR_ entry_ptr;
uint_32 FLEXCAN_get_msg(pointer can_ptr, pointer data, uint_32 _PTR_ id,
uint_32 _PTR_ len, uint_16 _PTR_ timestamp);
uint_32 FLEXCAN_send_msg_remote(pointer can_ptr, uint_32 mb_number,
pointer data, uint_32 *ID, uint_32 *len, uint_16 _PTR_ timestamp);
it seems to me that only the function definitions that use that _PTR_ expression fail. because those which don't use those expressions are imported correctly.
any ideas?
Goddchen