public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jonathan Wakely <redi@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org
Subject: [gcc r12-10281] libstdc++: Remove test dependencies on _GLIBCXX_USE_C99_STDINT_TR1
Date: Mon, 18 Mar 2024 14:08:40 +0000 (GMT)	[thread overview]
Message-ID: <20240318140840.B07DC38582A3@sourceware.org> (raw)

https://gcc.gnu.org/g:5546859455fd876fdd1b7233e8c2d8a3a7bc2fe4

commit r12-10281-g5546859455fd876fdd1b7233e8c2d8a3a7bc2fe4
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri May 12 13:34:37 2023 +0100

    libstdc++: Remove test dependencies on _GLIBCXX_USE_C99_STDINT_TR1
    
    These #ifdef checks should have been removed in r9-2029-g612c9c702e2c9e
    when the u16string_view and u32string_view aliases were changed to be
    defined unconditionally.
    
    libstdc++-v3/ChangeLog:
    
            * testsuite/21_strings/basic_string_view/typedefs.cc: Remove
            dependency on _GLIBCXX_USE_C99_STDINT_TR1.
            * testsuite/experimental/string_view/typedefs.cc: Likewise.
    
    (cherry picked from commit fe0e3df6f3751a0164c8e92a0d6519f2e10527a8)

Diff:
---
 libstdc++-v3/testsuite/21_strings/basic_string_view/typedefs.cc | 2 --
 libstdc++-v3/testsuite/experimental/string_view/typedefs.cc     | 2 --
 2 files changed, 4 deletions(-)

diff --git a/libstdc++-v3/testsuite/21_strings/basic_string_view/typedefs.cc b/libstdc++-v3/testsuite/21_strings/basic_string_view/typedefs.cc
index 6ead90d7b25..20fad10257b 100644
--- a/libstdc++-v3/testsuite/21_strings/basic_string_view/typedefs.cc
+++ b/libstdc++-v3/testsuite/21_strings/basic_string_view/typedefs.cc
@@ -28,9 +28,7 @@ using check2_t = std::string_view;
 using check3_t = std::u8string_view;
 #endif
 
-#ifdef _GLIBCXX_USE_C99_STDINT_TR1
 using check4_t = std::u16string_view;
 using check5_t = std::u32string_view;
-#endif
 
 using check6_t = std::wstring_view;
diff --git a/libstdc++-v3/testsuite/experimental/string_view/typedefs.cc b/libstdc++-v3/testsuite/experimental/string_view/typedefs.cc
index 800a5beaeae..d4a2030aa10 100644
--- a/libstdc++-v3/testsuite/experimental/string_view/typedefs.cc
+++ b/libstdc++-v3/testsuite/experimental/string_view/typedefs.cc
@@ -28,9 +28,7 @@ using check2_t = std::experimental::fundamentals_v1::string_view;
 using check3_t = std::experimental::fundamentals_v1::u8string_view;
 #endif
 
-#ifdef _GLIBCXX_USE_C99_STDINT_TR1
 using check4_t = std::experimental::fundamentals_v1::u16string_view;
 using check5_t = std::experimental::fundamentals_v1::u32string_view;
-#endif
 
 using check6_t = std::experimental::fundamentals_v1::wstring_view;

                 reply	other threads:[~2024-03-18 14:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240318140840.B07DC38582A3@sourceware.org \
    --to=redi@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    --cc=libstdc++-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).