{"action":"created","issue":{"url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/758","repository_url":"https://api.github.com/repos/alexa/avs-device-sdk","labels_url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/758/labels{/name}","comments_url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/758/comments","events_url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/758/events","html_url":"https://github.com/alexa/avs-device-sdk/issues/758","id":328951555,"node_id":"MDU6SXNzdWUzMjg5NTE1NTU=","number":758,"title":"converting to ‘const std::unordered_set<std::basic_string<char> >’from initializer","user":{"login":"SEUNGWOOWOO","id":39901867,"node_id":"MDQ6VXNlcjM5OTAxODY3","avatar_url":"https://avatars3.githubusercontent.com/u/39901867?v=4","gravatar_id":"","url":"https://api.github.com/users/SEUNGWOOWOO","html_url":"https://github.com/SEUNGWOOWOO","followers_url":"https://api.github.com/users/SEUNGWOOWOO/followers","following_url":"https://api.github.com/users/SEUNGWOOWOO/following{/other_user}","gists_url":"https://api.github.com/users/SEUNGWOOWOO/gists{/gist_id}","starred_url":"https://api.github.com/users/SEUNGWOOWOO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SEUNGWOOWOO/subscriptions","organizations_url":"https://api.github.com/users/SEUNGWOOWOO/orgs","repos_url":"https://api.github.com/users/SEUNGWOOWOO/repos","events_url":"https://api.github.com/users/SEUNGWOOWOO/events{/privacy}","received_events_url":"https://api.github.com/users/SEUNGWOOWOO/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-04T08:14:09Z","updated_at":"2018-06-05T20:49:11Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nIS same issue #697  and #698 \r\n\r\nMy development environment is like this.\r\ngcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4\r\n\r\nLinux tako2-si 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\nIs it difficult to fix the problem in my environment?\r\n\r\nI have upgraded my app to SDK V1.7.1, but got an error below when building the SDK:\r\n\r\n[ 46%] Building CXX object BluetoothImplementations/BlueZ/src/CMakeFiles/BluetoothImplementationsBlueZ.dir/BlueZAVRCPTarget.cpp.o\r\n[ 46%] Building CXX object BluetoothImplementations/BlueZ/src/CMakeFiles/BluetoothImplementationsBlueZ.dir/BlueZBluetoothDevice.cpp.o\r\n/home/king/Project/DB20_Linux/AVS/alexa-client-sdk_v1.7.1_Temp/avs-device-sdk-master/BluetoothImplementations/BlueZ/src/BlueZBluetoothDevice.cpp: In member function 'std::unordered_set<std::basic_string<char> > alexaClientSDK::bluetoothImplementations::blueZ::BlueZBluetoothDevice::getServiceUuids()':\r\n/home/king/Project/DB20_Linux/AVS/alexa-client-sdk_v1.7.1_Temp/avs-device-sdk-master/BluetoothImplementations/BlueZ/src/BlueZBluetoothDevice.cpp:305:17: error: converting to 'std::unordered_set<std::basic_string<char> >' from initializer list would use explicit constructor 'std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred, _Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&) [with _Value = std::basic_string<char>; _Hash = std::hash<std::basic_string<char> >; _Pred = std::equal_to<std::basic_string<char> >; _Alloc = std::allocator<std::basic_string<char> >; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::size_type = unsigned int; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::hasher = std::hash<std::basic_string<char> >; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal = std::equal_to<std::basic_string<char> >; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::allocator_type = std::allocator<std::basic_string<char> >]'\r\n         return {};\r\n                 ^\r\n/home/king/Project/DB20_Linux/AVS/alexa-client-sdk_v1.7.1_Temp/avs-device-sdk-master/BluetoothImplementations/BlueZ/src/BlueZBluetoothDevice.cpp:314:17: error: converting to 'std::unordered_set<std::basic_string<char> >' from initializer list would use explicit constructor 'std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred, _Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&) [with _Value = std::basic_string<char>; _Hash = std::hash<std::basic_string<char> >; _Pred = std::equal_to<std::basic_string<char> >; _Alloc = std::allocator<std::basic_string<char> >; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::size_type = unsigned int; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::hasher = std::hash<std::basic_string<char> >; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal = std::equal_to<std::basic_string<char> >; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::allocator_type = std::allocator<std::basic_string<char> >]'\r\n         return {};\r\n                 ^\r\nmake[2]: *** [BluetoothImplementations/BlueZ/src/CMakeFiles/BluetoothImplementationsBlueZ.dir/BlueZBluetoothDevice.cpp.o] Error 1\r\nmake[1]: *** [BluetoothImplementations/BlueZ/src/CMakeFiles/BluetoothImplementationsBlueZ.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n\r\nI modified the “return {};” to \"return uuids;\" in BlueZBluetoothDevice.cpp, but don't know if it is right, please advise."},"comment":{"url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/comments/394855132","html_url":"https://github.com/alexa/avs-device-sdk/issues/758#issuecomment-394855132","issue_url":"https://api.github.com/repos/alexa/avs-device-sdk/issues/758","id":394855132,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDg1NTEzMg==","user":{"login":"kencecka","id":25678362,"node_id":"MDQ6VXNlcjI1Njc4MzYy","avatar_url":"https://avatars2.githubusercontent.com/u/25678362?v=4","gravatar_id":"","url":"https://api.github.com/users/kencecka","html_url":"https://github.com/kencecka","followers_url":"https://api.github.com/users/kencecka/followers","following_url":"https://api.github.com/users/kencecka/following{/other_user}","gists_url":"https://api.github.com/users/kencecka/gists{/gist_id}","starred_url":"https://api.github.com/users/kencecka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kencecka/subscriptions","organizations_url":"https://api.github.com/users/kencecka/orgs","repos_url":"https://api.github.com/users/kencecka/repos","events_url":"https://api.github.com/users/kencecka/events{/privacy}","received_events_url":"https://api.github.com/users/kencecka/received_events","type":"User","site_admin":false},"created_at":"2018-06-05T20:49:11Z","updated_at":"2018-06-05T20:49:11Z","author_association":"CONTRIBUTOR","body":"Hi @SEUNGWOOWOO,\r\n\r\nIrrespective of platform, the minimum gcc release we are targeting is 4.8.5.  It sounds like you are still seeing this error with your 4.9.4 compiler, so I will file a ticket internally to adjust the code as I have described above.  In the mean time, if you make the change I suggested above, you should be able to compile.\r\n\r\nKen"}}
{"actor":{"display_login":"kencecka"}}