[SERVER-74633] Fix build with clang16 compiler on 32bit hosts Created: 03/Mar/23 Updated: 27/Oct/23 Resolved: 13/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Khem Raj | Assignee: | Backlog - Security Team |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Assigned Teams: |
Server Security
|
| Operating System: | ALL |
| Participants: |
| Description |
|
4.19 release fails to build with clang16+ src/mongo/util/processinfo_linux.cpp:424:16: error: no matching function for call to 'max' |
| Comments |
| Comment by Elizabeth Roytburd [ 13/Mar/23 ] |
|
Closing this out since we dropped support for 32bit. |
| Comment by Khem Raj [ 09/Mar/23 ] |
|
Feel free to take this patch I am not interested in CLA |
| Comment by Chris Kelly [ 09/Mar/23 ] |
|
Thanks for bringing up this issue, and suggesting a fix! If you would like attribution for this, please create a pull request here and sign our Contributor's Agreement as part of our considering the PR. Christopher |
| Comment by Khem Raj [ 03/Mar/23 ] |
|
attached is the fix |