Re: stddef-h: Make a configure test work with upcoming GCC 15

2025-04-09 Thread Bruno Haible via Gnulib discussion list
Collin Funk wrote: > $ gnulib-tool --create-testdir --dir testdir1 stddef-h > [...] > configure.ac:168: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call > detected in body > ... > But I have pushed the attached patch to prevent this warning from > causing confusion. Thank you!

Re: stddef-h: Make a configure test work with upcoming GCC 15

2025-04-08 Thread Collin Funk
): Use AC_LANG_SOURCE inside call to + AC_COMPILE_IFELSE. + 2025-04-08 Bruno Haible stddef-h: Make a configure test work with upcoming GCC 15. diff --git a/m4/stddef_h.m4 b/m4/stddef_h.m4 index 13aff50e71..a6bc624314 100644 --- a/m4/stddef_h.m4 +++ b/m4/stddef_h.m4 @@ -1,5 +1,5 @@ # stddef_h.m4 -#

stddef-h: Make a configure test work with upcoming GCC 15

2025-04-08 Thread Bruno Haible via Gnulib discussion list
eports "no" with current GCC. The cause is that this test interferes with an undocumented symbol __STDC_VERSION_STDDEF_H__. This patch fixes it. 2025-04-08 Bruno Haible stddef-h: Make a configure test work with upcoming GCC 15. * m4/stddef_h.m4 (gl_STDDEF_H): Rep