Skip to content

[ScheduleDAGRRList] Pacify overload mismatch in std::min. #2107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Nov 6, 2020

On systems where size() doesn't return unsigned long, this leads to an
overloading mismatch. Convert the constant to whatever type is used for
Q.size() on the system.

On systems where size() doesn't return unsigned long, this leads to an
overloading mismatch. Convert the constant to whatever type is used for
Q.size() on the system.
@compnerd
Copy link
Member Author

compnerd commented Nov 6, 2020

CC: @fhahn @xymus @bnbarham

@compnerd
Copy link
Member Author

compnerd commented Nov 6, 2020

@swift-ci please test

@fhahn
Copy link

fhahn commented Nov 6, 2020

Ah yes, seems like this one should also be picked, thanks!

@fhahn
Copy link

fhahn commented Nov 6, 2020

Maybe best to pick it on apple/stable/20200714?

@compnerd
Copy link
Member Author

compnerd commented Nov 6, 2020

Yes, that's probably the case, but this is blocking CI, so it would be better to get this merged.

@fhahn fhahn self-requested a review November 6, 2020 16:12
@fhahn
Copy link

fhahn commented Nov 6, 2020

Yes, that's probably the case, but this is blocking CI, so it would be better to get this merged.

SGTM. But it looks like Check files does not allow changing this file on swift/main, Not sure what to do about that.

@compnerd
Copy link
Member Author

compnerd commented Nov 6, 2020

Created #2110 as well; if @xymus can help get this merged awesome, if not, we can try to work through that.

Copy link

@fhahn fhahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adrian-prantl
Copy link

SGTM. But it looks like Check files does not allow changing this file on swift/main, Not sure what to do about that.

You need to do this on the stable-2020... branch and let it automerge here.

@compnerd compnerd deleted the 2100 branch November 6, 2020 17:54
@compnerd compnerd restored the 2100 branch November 6, 2020 18:06
@compnerd compnerd deleted the 2100 branch November 9, 2020 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants