[MDEV-28050] Error on compiling of storage/maria/ma_open.c Created: 2022-03-13 Updated: 2022-03-14 Resolved: 2022-03-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - Aria |
| Affects Version/s: | None |
| Fix Version/s: | 10.9.0, 10.5.16, 10.6.8, 10.7.4, 10.8.3 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Dmitry Shulga | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Running make with the option VERBOSE=1 shows that compiler is invoked with the option -std=gnu99 that is the reason of the above compilation failure. |
| Comments |
| Comment by Marko Mäkelä [ 2022-03-14 ] |
|
This redundant typedef was only present in the cmake -DPLUGIN_S3=NO build was exposed by a change by me to specify the C dialect that we are using. Previously, each compiler was allowed to guess, and end up choosing (among others) the 1990, 1999, or 2011 version of ISO/IEC 9899. |