[MDEV-22865] compilation failure on win32-debug Created: 2020-06-10 Updated: 2020-06-11 Resolved: 2020-06-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 10.5 |
| Fix Version/s: | 10.5.4 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Sergei Golubchik | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
|
| Comments |
| Comment by Marko Mäkelä [ 2020-06-11 ] |
|
I believe that this was broken by I am reassigning this to kevg, because he reviewed |
| Comment by Marko Mäkelä [ 2020-06-11 ] |
|
Apparently the problem was that some versions of Microsoft Visual Studio would claim that 33 * h overflows uint32_t in the constexpr function evaluation when compiling a 32-bit executable. My fix of uint64_t{33} * h seems to have worked. |