These two headers were missing in various places, preventing build in some cases.
Details
- Reviewers
vladislavbelov - Commits
- rP23321: Include Pyrogenesis.h and os_path.h where needed
- Build pyrogenesis.
Diff Detail
- Repository
- rP 0 A.D. Public Repository
- Branch
- include-missing-headers
- Lint
Lint OK - Unit
No Unit Test Coverage - Build Status
Buildable 10420 Build 17815: Vulcan Build Jenkins Build 17814: Vulcan Build (Windows) Jenkins Build 17813: arc lint + arc unit
Event Timeline
Successful build - Chance fights ever on the side of the prudent.
Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/785/display/redirect
Successful build - Chance fights ever on the side of the prudent.
Linter detected issues: Executing section Source... source/ps/ModIo.h | 1| /*·Copyright·(C)·2018·Wildfire·Games. | | [NORMAL] LicenseYearBear: | | License should have "2019" year instead of "2018" source/ps/ModIo.h | 50| » std::map<std::string,·std::string>·properties; | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'std::map' is invalid C code. Use --std or --language to configure the language. source/ps/Replay.h | 33| class·IReplayLogger | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'classIReplayLogger{' is invalid C code. Use --std or --language to configure the language. source/ps/VisualReplay.h | 30| namespace·VisualReplay | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'namespaceVisualReplay{' is invalid C code. Use --std or --language to configure the language. Executing section JS... Executing section cli...
Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1301/display/redirect
Successful build - Chance fights ever on the side of the prudent.
Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/807/display/redirect
Successful build - Chance fights ever on the side of the prudent.
Linter detected issues: Executing section Source... source/ps/ModIo.h | 50| » std::map<std::string,·std::string>·properties; | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'std::map' is invalid C code. Use --std or --language to configure the language. source/ps/Replay.h | 33| class·IReplayLogger | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'classIReplayLogger{' is invalid C code. Use --std or --language to configure the language. source/ps/VisualReplay.h | 31| namespace·VisualReplay | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'namespaceVisualReplay{' is invalid C code. Use --std or --language to configure the language. Executing section JS... Executing section cli...
Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1323/display/redirect
Successful build - Chance fights ever on the side of the prudent.
Link to build: https://jenkins.wildfiregames.com/job/vs2015-differential/828/display/redirect
Successful build - Chance fights ever on the side of the prudent.
Linter detected issues: Executing section Source... source/ps/VisualReplay.h | 30| namespace·VisualReplay | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'namespaceVisualReplay{' is invalid C code. Use --std or --language to configure the language. source/ps/ModIo.h | 50| » std::map<std::string,·std::string>·properties; | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'std::map' is invalid C code. Use --std or --language to configure the language. source/ps/Replay.h | 33| class·IReplayLogger | | [MAJOR] CPPCheckBear (syntaxError): | | Code 'classIReplayLogger{' is invalid C code. Use --std or --language to configure the language. Executing section JS... Executing section cli...
Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1344/display/redirect
The patch looks good and not overhead. Since all includes provides used classes. I'm going to test and commit the patch.