I am currently programming a microcontroller in c. I am using uVision as IDE and Realview as the compiler.
the warning I receive is:
the line in question in the code which is bugging:
openPOWERLINK_v1.1.0\EplStack\objdict.h(14): warning: #188-D: enumerated type mixed with another type
and finally the definition of EPL_OBS_SUBINDEX_RAM_VAR:
EPL_OBD_BEGIN_INDEX_RAM(0x1000, 0x01, NULL)
EPL_OBD_SUBINDEX_RAM_VAR(0x1000, 0x00, 0x07, 0x01, tEplObdUnsigned32, NMT_DeviceType_U32, 0xF0191)
definitions of the variables inside:
#define EPL_OBD_SUBINDEX_RAM_VAR(ind,sub,typ,acc,dtyp,name,val) static dtyp xDef##ind##_##sub##_g = val;
typedef unsigned long tEplObdUnsigned32; // 0007
DWORD m_dwDeviceType; // NMT_DeviceType_U32
Please let me know which information I need to give to solve this problem.
Thank you for the help and regards,