From: Jefferson C. <jef...@gm...> - 2025-01-08 09:38:49
|
On 1/8/2025 3:32 AM, Florian Krohm wrote: > We could check this in and see what happens. > A word from the platform maintainers would be good, too. Just want to point out there's a typo in the comment: C111 should be C11 - Jefferson > > > diff --git a/configure.ac b/configure.ac > index cb1dc69d3..1e2723cc1 100755 > --- a/configure.ac > +++ b/configure.ac > @@ -50,10 +50,10 @@ CXXFLAGS="$CXXFLAGS" > #---------------------------------------------------------------------------- > > > AC_PROG_LN_S > -m4_version_prereq([2.70], [AC_PROG_CC], [AC_PROG_CC_C99]) > -# Make sure we can compile in C99 mode. > -if test "$ac_cv_prog_cc_c99" = "no"; then > - AC_MSG_ERROR([Valgrind relies on a C compiler supporting C99]) > +m4_version_prereq([2.70], [AC_PROG_CC], [AC_PROG_CC_C11]) > +# Make sure we can compile in C111 mode. > +if test "$ac_cv_prog_cc_c11" = "no"; then > + AC_MSG_ERROR([Valgrind relies on a C compiler supporting C11]) > fi > AC_PROG_CPP > AC_PROG_CXX > > > > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers |