another cast bug which while only warns in C, is fatal in C++. In the generated code file we get the error:
../Generated_Code/IntFlashLdd1.c: In function 'LDD_TError IntFlashLdd1_Write(LDD_TDeviceData*, LDD_TData*, LDD_FLASH_TAddress, LDD_FLASH_TDataSize)':
../Generated_Code/IntFlashLdd1.c:253:35: error: invalid conversion from 'LDD_TData* {aka void*}' to 'std::uint8_t* {aka unsigned char*}' [-fpermissive]
mingw32-make: *** [Generated_Code/IntFlashLdd1.o] Error 1
Which again can be fixed by properly casting the assignment.
已解决! 转到解答。