[MXS-4252] static_assert failed during compiling Created: 2022-08-23 Updated: 2022-08-24 Resolved: 2022-08-24 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | build |
| Affects Version/s: | 6.4.0, 6.4.1 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Zhiwei Ye | Assignee: | Johan Wikman |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
CentOS 7.6 |
||
| Description |
|
As static_assert missing the 2nd argument in MaxScale 6.4, the build failed. I fixed the complie error for static_assert in "https://github.com/mariadb-corporation/MaxScale/pull/262". |
| Comments |
| Comment by Johan Wikman [ 2022-08-23 ] |
|
MaxScale 6 is build with C++17, which has a 1-argument static_assert(). |
| Comment by Zhiwei Ye [ 2022-08-24 ] |
|
Got it and thx. |
| Comment by Johan Wikman [ 2022-08-24 ] |
|
MaxScale 6 is built with C++17, which supports this kind of usage of static_assert. |