AnsweredAssumed Answered

Medical USB compiling issues under CW V10

Question asked by AudioGary on Aug 10, 2010
Latest reply on Aug 17, 2010 by AudioGary

Anyone successfully compile and run the Medical USB demo on a Flexis JM demonstration board (DEMOJM) using Code Warrior V10?

 

I am trying but I am getting too many errors that I don't understand.

 

Examples:

Description Resource Path Location Type
illegal implicit conversion from 'struct  *' to 'unsigned char *' khci.c Host_HID_example/User_Files/Source line 653 C/C++ Problem

 

Description Resource Path Location Type

illegal implicit conversion from 'struct  *' to 'unsigned char *' khci.c Host_HID_example/User_Files/Source line 653 C/C++ Problem

 

Description Resource Path Location Type

illegal implicit conversion from 'struct  *' to 'int *' khci.c Host_HID_example/User_Files/Source line 554 C/C++ Problem

 

I am also coming up with a bunch of warnings:

 

Description Resource Path Location Type

implicit arithmetic conversion from 'int' to 'unsigned long' khci.c Host_HID_example/User_Files/Source line 262 C/C++ Problem

 

Description Resource Path Location Type
implicit arithmetic conversion from 'long' to 'unsigned short' khci.c Host_HID_example/User_Files/Source line 354 C/C++ Problem

 

I am new to using CW tools and it's been a while since I was coding, so I may be making a novice mistake in the setup.  Any suggestions are welcomed.

Outcomes