Hello all,
I am currently programming a microcontroller in c. I am using uVision as IDE and Realview as the compiler.
the warning I receive is:
Code:
openPOWERLINK_v1.1.0\EplStack\objdict.h(14): warning: #188-D: enumerated type mixed with another type
the line in question in the code which is bugging:
Code:
EPL_OBD_BEGIN_INDEX_RAM(0x1000, 0x01, NULL)
EPL_OBD_SUBINDEX_RAM_VAR(0x1000, 0x00, 0x07, 0x01, tEplObdUnsigned32, NMT_DeviceType_U32, 0xF0191)
EPL_OBD_END_INDEX(0x1000)
and finally the definition of EPL_OBS_SUBINDEX_RAM_VAR:
Code:
#define EPL_OBD_SUBINDEX_RAM_VAR(ind,sub,typ,acc,dtyp,name,val) static dtyp xDef##ind##_##sub##_g = val;
definitions of the variables inside:
Code:
typedef unsigned long tEplObdUnsigned32; // 0007
Code:
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,
Leon Pretorius