Page MenuHomeWildfire Games

JPS - make the JPC cache usable again (rP22225 fix)
ClosedPublic

Authored by wraitii on May 11 2019, 2:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 13, 2:53 PM
Unknown Object (File)
Thu, Sep 12, 8:40 PM
Unknown Object (File)
Sun, Sep 8, 12:49 AM
Unknown Object (File)
Sat, Sep 7, 8:58 PM
Unknown Object (File)
Sat, Sep 7, 5:54 AM
Unknown Object (File)
Thu, Sep 5, 9:37 PM
Unknown Object (File)
Thu, Sep 5, 9:37 PM
Unknown Object (File)
Thu, Aug 29, 2:50 PM
Subscribers

Details

Reviewers
Itms
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rP22301: JPS - make the JPC cache usable again (rP22225 fix)
Summary

rP22225 hurriedly fixed a crash, but made the JPC cache fail - though we are not using it and it might fail for other reasons still.

Test Plan

Review code

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/differential/1364/display/redirect

Stan added inline comments.
source/simulation2/helpers/LongPathfinder.cpp
721 ↗(On Diff #7970)

Use the explicit type, see comment on the commit :)

wraitii retitled this revision from JPS - make the JPC cache usable again (rP22248 fix) to JPS - make the JPC cache usable again (rP22225 fix).May 25 2019, 9:31 AM
wraitii edited the summary of this revision. (Show Details)

What Stan said, unless the complete type is actually very long (not on desktop, I can't check).

I liked the extra line between lines 722 and 723 but at that point I'm just being annoying ?

Apart from that this is good for me.

no more auto (tbh here I feel like it would have been legitimate, but I'm definitely more on the "auto" side than most of you guys).

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/differential/1478/display/redirect

source/simulation2/helpers/LongPathfinder.cpp
722 ↗(On Diff #8117)

Add a space between the two closing >. Sub-par compilers (can't remember which ones) sometimes mistake that for a >> operator.

source/simulation2/helpers/LongPathfinder.cpp
722 ↗(On Diff #8117)

That's... Retarded...

source/simulation2/helpers/LongPathfinder.cpp
722 ↗(On Diff #8117)

(2019 and this is still an issue -_-)

Are these compilers actually supported nowadays? Does VS2013 exhibit this?

source/simulation2/helpers/LongPathfinder.cpp
722 ↗(On Diff #8117)

I actually think splitting them helps with readability, so I'd push for doing it anyway. But yes IIRC the issue still exists with 2013 and is fixed in 2015.

Wait for the build, but yes from me.

This revision is now accepted and ready to land.May 25 2019, 5:21 PM

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/differential/1487/display/redirect

This revision was automatically updated to reflect the committed changes.