mpd/src/lib/dbus
Max Kellermann b9cca49e14 lib/dbus/ReadIter: switch off -Wshadow on GCC<8
GCC 6.3.0 emits bogus warnings like this:

 In file included from src/lib/dbus/UDisks2.cxx:22:0:
 src/lib/dbus/ReadIter.hxx: In instantiation of 'ODBus::ReadMessageIter::ForEachProperty(F&&)::<lambda(auto:2&&)> [with auto:2 = ODBus::ReadMessageIter; F = std::_Bind<void (*(std::reference_wrapper<UDisks2::Object>, std::_Placeholder<1>, std::_Placeholder<2>))(UDisks2::Object&, const char*, ODBus::ReadMessageIter&&) noexcept>]':
 src/lib/dbus/ReadIter.hxx:102:6:   required from 'ODBus::ReadMessageIter::ForEachRecurse(int, F&&)::<lambda(auto:1&&)> [with auto:1 = ODBus::ReadMessageIter&; F = ODBus::ReadMessageIter::ForEachProperty(F&&) [with F = std::_Bind<void (*(std::reference_wrapper<UDisks2::Object>, std::_Placeholder<1>, std::_Placeholder<2>))(UDisks2::Object&, const char*, ODBus::ReadMessageIter&&) noexcept>]::<lambda(auto:2&&)>]'
 src/lib/dbus/ReadIter.hxx:92:5:   required from 'void ODBus::ReadMessageIter::ForEach(int, F&&) [with F = ODBus::ReadMessageIter::ForEachRecurse(int, F&&) [with F = ODBus::ReadMessageIter::ForEachProperty(F&&) [with F = std::_Bind<void (*(std::reference_wrapper<UDisks2::Object>, std::_Placeholder<1>, std::_Placeholder<2>))(UDisks2::Object&, const char*, ODBus::ReadMessageIter&&) noexcept>]::<lambda(auto:2&&)>]::<lambda(auto:1&&)>]'
 src/lib/dbus/ReadIter.hxx:101:3:   required from 'void ODBus::ReadMessageIter::ForEachRecurse(int, F&&) [with F = ODBus::ReadMessageIter::ForEachProperty(F&&) [with F = std::_Bind<void (*(std::reference_wrapper<UDisks2::Object>, std::_Placeholder<1>, std::_Placeholder<2>))(UDisks2::Object&, const char*, ODBus::ReadMessageIter&&) noexcept>]::<lambda(auto:2&&)>]'
 src/lib/dbus/ReadIter.hxx:114:3:   required from 'void ODBus::ReadMessageIter::ForEachProperty(F&&) [with F = std::_Bind<void (*(std::reference_wrapper<UDisks2::Object>, std::_Placeholder<1>, std::_Placeholder<2>))(UDisks2::Object&, const char*, ODBus::ReadMessageIter&&) noexcept>]'
 src/lib/dbus/UDisks2.cxx:71:30:   required from here
 src/lib/dbus/ReadIter.hxx:114:53: error: declaration of 'ODBus::ReadMessageIter&& i' shadows a parameter [-Werror=shadow]
    ForEachRecurse(DBUS_TYPE_DICT_ENTRY, [&f](auto &&i){
                                                      ^
 src/lib/dbus/ReadIter.hxx:101:33: note: shadowed declaration is here
    ForEach(arg_type, [&f](auto &&i){
                                  ^
2018-09-02 08:17:21 +02:00
..
AppendIter.hxx odbus: import dbus-1 OO wrapper library 2018-06-02 19:15:56 +02:00
AsyncRequest.hxx lib/dbus/AsyncRequest: add missing include 2018-06-04 22:00:52 +02:00
Connection.cxx lib/dbus/Glue: use private connection 2018-06-03 11:00:58 +02:00
Connection.hxx lib/dbus/Connection: add DBusConnection& cast operator 2018-06-04 12:20:41 +02:00
Error.cxx odbus: import dbus-1 OO wrapper library 2018-06-02 19:15:56 +02:00
Error.hxx Compiler.h: move to util/ 2018-08-20 16:19:17 +02:00
Glue.cxx lib/dbus/Glue: move Connect()/Disconnect() calls to I/O thread 2018-06-03 12:08:37 +02:00
Glue.hxx lib/dbus/Glue: move Connect()/Disconnect() calls to I/O thread 2018-06-03 12:08:37 +02:00
Init.hxx Main: move libdbus cleanup to class ODBus::ScopeInit 2018-08-01 19:24:50 +02:00
Iter.hxx neighbor/Iter: add missing include 2018-06-04 17:23:55 +02:00
Message.cxx odbus: import dbus-1 OO wrapper library 2018-06-02 19:15:56 +02:00
Message.hxx odbus: import dbus-1 OO wrapper library 2018-06-02 19:15:56 +02:00
ObjectManager.hxx lib/dbus/ObjectManager: use TypeTraits instead of CPP macro 2018-06-03 20:30:08 +02:00
PendingCall.hxx odbus: import dbus-1 OO wrapper library 2018-06-02 19:15:56 +02:00
ReadIter.hxx lib/dbus/ReadIter: switch off -Wshadow on GCC<8 2018-09-02 08:17:21 +02:00
ScopeMatch.cxx odbus: import dbus-1 OO wrapper library 2018-06-02 19:15:56 +02:00
ScopeMatch.hxx odbus: import dbus-1 OO wrapper library 2018-06-02 19:15:56 +02:00
Types.hxx lib/dbus/Types: add ObjectPathTypeTraits 2018-06-03 20:30:08 +02:00
UDisks2.cxx Compiler.h: move to util/ 2018-08-20 16:19:17 +02:00
UDisks2.hxx storage/udisks: new plugin 2018-06-04 22:00:52 +02:00
Values.hxx odbus: import dbus-1 OO wrapper library 2018-06-02 19:15:56 +02:00
Watch.cxx odbus: import dbus-1 OO wrapper library 2018-06-02 19:15:56 +02:00
Watch.hxx Compiler.h: move to util/ 2018-08-20 16:19:17 +02:00