aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/Wshift-overflow-1.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-10-16 09:22:37 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-10-16 10:09:16 +0100
commitb9e98bb9919fa9f07782f23f79b3d35abb9ff542 (patch)
treeca56245a1f9ffb7cdabb48259518ed4de0adf774 /gcc/testsuite/c-c++-common/Wshift-overflow-1.c
parentcc217a1ecb04c9234b2cce7ba3c27701a050e402 (diff)
downloadgcc-b9e98bb9919fa9f07782f23f79b3d35abb9ff542.zip
gcc-b9e98bb9919fa9f07782f23f79b3d35abb9ff542.tar.gz
gcc-b9e98bb9919fa9f07782f23f79b3d35abb9ff542.tar.bz2
libstdc++: Fix Python deprecation warning in printers.py
python/libstdcxx/v6/printers.py:1355: DeprecationWarning: 'count' is passed as positional argument The Python docs say: Deprecated since version 3.13: Passing count and flags as positional arguments is deprecated. In future Python versions they will be keyword-only parameters. Using a keyword argument for count only became possible with Python 3.1 so introduce a new function to do the substitution. libstdc++-v3/ChangeLog: * python/libstdcxx/v6/printers.py (strip_fundts_namespace): New. (StdExpAnyPrinter, StdExpOptionalPrinter): Use it.
Diffstat (limited to 'gcc/testsuite/c-c++-common/Wshift-overflow-1.c')
0 files changed, 0 insertions, 0 deletions