C allows implicit conversions to / from void*, which C ++ does not. You need to specify the correct type.
Using:
uint8_t *pNextRam;
pNextRam = (uint8_t*)RAM32Boundary;
Or best of all * , use the C ++ style instead of the C style .:
uint8_t *pNextRam;
pNextRam = static_cast<uint8_t*>(RAM32Boundary);
* . ++ .