Files
Manuel Bergler dba47c8dbc gmp: Fix C23 compatibility patch to work with older host compilers
The patch added in 1e9bf81515 changes
the definition of the function `g` used in `configure` tests from
`void g(){}` to `void g(int,t1 const*,t1,t2,t1 const*,int){}`.

However, omitting parameter names in function definitions is a C23 feature.
This thus causes configuration to fail with a GCC 9 host compiler:

```c
conftest.c: In function 'g':
conftest.c:7:8: error: parameter name omitted
    7 | void g(int,t1 const*,t1,t2,t1 const*,int){}
      |        ^~~
conftest.c:7:12: error: parameter name omitted
    7 | void g(int,t1 const*,t1,t2,t1 const*,int){}
      |            ^~~~~~~~~
conftest.c:7:22: error: parameter name omitted
    7 | void g(int,t1 const*,t1,t2,t1 const*,int){}
      |                      ^~
conftest.c:7:25: error: parameter name omitted
    7 | void g(int,t1 const*,t1,t2,t1 const*,int){}
      |                         ^~
conftest.c:7:28: error: parameter name omitted
    7 | void g(int,t1 const*,t1,t2,t1 const*,int){}
      |                            ^~~~~~~~~
conftest.c:7:38: error: parameter name omitted
    7 | void g(int,t1 const*,t1,t2,t1 const*,int){}

Signed-off-by: Manuel Bergler <berglerma@gmail.com>
2025-05-29 08:38:12 +12:00
..
2017-09-29 17:05:22 -07:00
2022-02-11 00:47:51 -08:00
2022-02-11 00:47:50 -08:00