mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
stdckdint-h: Work around missing declarations with g++ 15.0.
* modules/stdckdint-h (configure.ac): Generate the header if the system has one and C++ is being used.
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
2025-05-19 Collin Funk <collin.funk1@gmail.com>
|
2025-05-19 Collin Funk <collin.funk1@gmail.com>
|
||||||
|
|
||||||
|
stdckdint-h: Work around missing declarations with g++ 15.0.
|
||||||
|
* modules/stdckdint-h (configure.ac): Generate the header if the system
|
||||||
|
has one and C++ is being used.
|
||||||
|
|
||||||
stdckdint-h C++ tests: Verify the ckd_* functions can be invoked.
|
stdckdint-h C++ tests: Verify the ckd_* functions can be invoked.
|
||||||
* tests/test-stdckdint-h-c++.cc (main): Invoke ckd_add, ckd_sub, and
|
* tests/test-stdckdint-h-c++.cc (main): Invoke ckd_add, ckd_sub, and
|
||||||
ckd_mul.
|
ckd_mul.
|
||||||
|
@@ -12,7 +12,11 @@ bool
|
|||||||
configure.ac:
|
configure.ac:
|
||||||
AC_CHECK_HEADERS_ONCE([stdckdint.h])
|
AC_CHECK_HEADERS_ONCE([stdckdint.h])
|
||||||
if test $ac_cv_header_stdckdint_h = yes; then
|
if test $ac_cv_header_stdckdint_h = yes; then
|
||||||
|
if test -n "$CXX" && test "$CXX" != no; then
|
||||||
|
GL_GENERATE_STDCKDINT_H=true
|
||||||
|
else
|
||||||
GL_GENERATE_STDCKDINT_H=false
|
GL_GENERATE_STDCKDINT_H=false
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
GL_GENERATE_STDCKDINT_H=true
|
GL_GENERATE_STDCKDINT_H=true
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user