Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/libstdc++-v3/include/bits use the ful...



details:   https://anonhg.NetBSD.org/src/rev/88ea42b6f23f
branches:  trunk
changeset: 820976:88ea42b6f23f
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 17 12:48:39 2017 +0000

description:
use the full attribute syntax.

diffstat:

 external/gpl3/gcc/dist/libstdc++-v3/include/bits/stl_algo.h |  26 ++++++------
 1 files changed, 13 insertions(+), 13 deletions(-)

diffs (96 lines):

diff -r ae2c8720bc72 -r 88ea42b6f23f external/gpl3/gcc/dist/libstdc++-v3/include/bits/stl_algo.h
--- a/external/gpl3/gcc/dist/libstdc++-v3/include/bits/stl_algo.h       Tue Jan 17 11:09:36 2017 +0000
+++ b/external/gpl3/gcc/dist/libstdc++-v3/include/bits/stl_algo.h       Tue Jan 17 12:48:39 2017 +0000
@@ -1736,11 +1736,11 @@
                      _RandomAccessIterator __result_last)
     {
       typedef typename iterator_traits<_InputIterator>::value_type
-       _InputValueType __unused;
+       _InputValueType __attribute__((__unused__));
       typedef typename iterator_traits<_RandomAccessIterator>::value_type
-       _OutputValueType __unused;
+       _OutputValueType __attribute__((__unused__));
       typedef typename iterator_traits<_RandomAccessIterator>::difference_type
-       _DistanceType __unused;
+       _DistanceType __attribute__((__unused__));
 
       // concept requirements
       __glibcxx_function_requires(_InputIteratorConcept<_InputIterator>)
@@ -1786,11 +1786,11 @@
                      _Compare __comp)
     {
       typedef typename iterator_traits<_InputIterator>::value_type
-       _InputValueType __unused;
+       _InputValueType __attribute__((__unused__));
       typedef typename iterator_traits<_RandomAccessIterator>::value_type
-       _OutputValueType __unused;
+       _OutputValueType __attribute__((__unused__));
       typedef typename iterator_traits<_RandomAccessIterator>::difference_type
-       _DistanceType __unused;
+       _DistanceType __attribute__((__unused__));
 
       // concept requirements
       __glibcxx_function_requires(_InputIteratorConcept<_InputIterator>)
@@ -2019,7 +2019,7 @@
                const _Tp& __val, _Compare __comp)
     {
       typedef typename iterator_traits<_ForwardIterator>::value_type
-       _ValueType __unused;
+       _ValueType __attribute__((__unused__));
 
       // concept requirements
       __glibcxx_function_requires(_ForwardIteratorConcept<_ForwardIterator>)
@@ -2076,7 +2076,7 @@
                const _Tp& __val)
     {
       typedef typename iterator_traits<_ForwardIterator>::value_type
-       _ValueType __unused;
+       _ValueType __attribute__((__unused__));
 
       // concept requirements
       __glibcxx_function_requires(_ForwardIteratorConcept<_ForwardIterator>)
@@ -2108,7 +2108,7 @@
                const _Tp& __val, _Compare __comp)
     {
       typedef typename iterator_traits<_ForwardIterator>::value_type
-       _ValueType __unused;
+       _ValueType __attribute__((__unused__));
 
       // concept requirements
       __glibcxx_function_requires(_ForwardIteratorConcept<_ForwardIterator>)
@@ -2182,7 +2182,7 @@
                const _Tp& __val)
     {
       typedef typename iterator_traits<_ForwardIterator>::value_type
-       _ValueType __unused;
+       _ValueType __attribute__((__unused__));
 
       // concept requirements
       __glibcxx_function_requires(_ForwardIteratorConcept<_ForwardIterator>)
@@ -2219,7 +2219,7 @@
                const _Tp& __val, _Compare __comp)
     {
       typedef typename iterator_traits<_ForwardIterator>::value_type
-       _ValueType __unused;
+       _ValueType __attribute__((__unused__));
 
       // concept requirements
       __glibcxx_function_requires(_ForwardIteratorConcept<_ForwardIterator>)
@@ -2255,7 +2255,7 @@
                   const _Tp& __val)
     {
       typedef typename iterator_traits<_ForwardIterator>::value_type
-       _ValueType __unused;
+       _ValueType __attribute__((__unused__));
 
       // concept requirements
       __glibcxx_function_requires(_ForwardIteratorConcept<_ForwardIterator>)
@@ -2290,7 +2290,7 @@
                   const _Tp& __val, _Compare __comp)
     {
       typedef typename iterator_traits<_ForwardIterator>::value_type
-       _ValueType __unused;
+       _ValueType __attribute__((__unused__));
 
       // concept requirements
       __glibcxx_function_requires(_ForwardIteratorConcept<_ForwardIterator>)



Home | Main Index | Thread Index | Old Index