5
我试图将C项目转换为C++。错误[Pe513]:无法将类型“void *”的值分配给类型为“uint8_t *”的实体
在C项目,同时编译成C++我反驳这个错误:
Error[Pe513]: a value of type "void *" cannot be assigned to an entity of type "uint8_t *"
下面的代码给出了这样的错误:
#define RAM32Boundary 0x20007D00
uint8_t *pNextRam;
pNextRam = (void*)RAM32Boundary;// load up the base ram
谁能解释这是什么东西在C和做如何把它转换成C++?
很好,谢谢! – 2016-02-28 03:14:15