Oops, I forgot to update the C++ tests. Done as follows:

2026-11-24  Bruno Haible  <[email protected]>

        time-h tests: Check getdate() declaration in C++ mode.
        * tests/test-time-h-c++.cc: Check the signature of getdate().

diff --git a/tests/test-time-h-c++.cc b/tests/test-time-h-c++.cc
index 5425409dcc..efc3076d95 100644
--- a/tests/test-time-h-c++.cc
+++ b/tests/test-time-h-c++.cc
@@ -66,6 +66,10 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::strptime, char *,
                  (char const *, char const *, struct tm *));
 #endif
 
+#if GNULIB_TEST_GETDATE
+SIGNATURE_CHECK (GNULIB_NAMESPACE::getdate, struct tm *, (const char *));
+#endif
+
 #if GNULIB_TEST_CTIME
 SIGNATURE_CHECK (GNULIB_NAMESPACE::ctime, char *, (time_t const *));
 #endif




  • new module 'getdate' Bruno Haible via Gnulib discussion list
    • Re: new module 'getdate' Bruno Haible via Gnulib discussion list

Reply via email to