Adapt compilerplugins/clang/test/getstr.cxx to latest MSVC standard library
...that now defines the wide-character-to-narrow-stream inserters as deleted too, at least in C++20 mode. Change-Id: I554f2530d5905e46343bf0d8bf12a6feb3d63075 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100073 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
187a6f5d2d
commit
5a8edae67c
@ -24,7 +24,7 @@
|
||||
// "libstdc++: P1423R3 char8_t remediation (2/4)" for -std=c++2a; TODO: the checks here and the
|
||||
// relevant code in loplugin:getstr should eventually be removed once support for the deleted
|
||||
// operators is widespread):
|
||||
#if __cplusplus > 201703L && defined __GLIBCXX__
|
||||
#if __cplusplus > 201703L && (defined __GLIBCXX__ || defined _MSC_VER)
|
||||
#define HAVE_DELETED_OPERATORS true
|
||||
#else
|
||||
#define HAVE_DELETED_OPERATORS false
|
||||
|
Loading…
x
Reference in New Issue
Block a user