How did you solve it, please?I also encountered the same problem when using RTD4.0.0.But since there was no problem with generating the code, I didn't study it carefully
Perhaps it's RTD issue , tested again, ignore the Error log view, just generate the project, then 0 errors 0 warnigns, even the Error log view was clear. FYI. : )