From: Bruno Haible Date: Fri, 19 Sep 2025 14:26:52 +0000 (+0200) Subject: map-c++-tests: Fix compilation error (regression 2025-09-17). X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba34a934c4dbbeecea8938dfd1ac382012029f9d;p=thirdparty%2Fgnulib.git map-c++-tests: Fix compilation error (regression 2025-09-17). * tests/test-map-c++.cc (streq): Remove function. * modules/map-c++-tests (Depends-on): Add stringeq. --- diff --git a/ChangeLog b/ChangeLog index 503732632e..ae028184da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2025-09-19 Bruno Haible + + map-c++-tests: Fix compilation error (regression 2025-09-17). + * tests/test-map-c++.cc (streq): Remove function. + * modules/map-c++-tests (Depends-on): Add stringeq. + 2025-09-18 Bruno Haible stack-trace: Add support for Oracle DeveloperStudio cc. diff --git a/modules/map-c++-tests b/modules/map-c++-tests index edfbf2823f..cccd20d46e 100644 --- a/modules/map-c++-tests +++ b/modules/map-c++-tests @@ -5,6 +5,7 @@ tests/macros.h Depends-on: ansi-c++-opt array-map +stringeq configure.ac: diff --git a/tests/test-map-c++.cc b/tests/test-map-c++.cc index a314bbe710..fea10c0c46 100644 --- a/tests/test-map-c++.cc +++ b/tests/test-map-c++.cc @@ -26,12 +26,6 @@ static const int integers[6] = { 0, 1, 2, 3, 4, 5 }; -static bool -streq (const char *str1, const char *str2) -{ - return strcmp (str1, str2) == 0; -} - int main (int argc, char *argv[]) {