{"action":"created","issue":{"url":"https://api.github.com/repos/Larpon/QtFirebase/issues/81","repository_url":"https://api.github.com/repos/Larpon/QtFirebase","labels_url":"https://api.github.com/repos/Larpon/QtFirebase/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/Larpon/QtFirebase/issues/81/comments","events_url":"https://api.github.com/repos/Larpon/QtFirebase/issues/81/events","html_url":"https://github.com/Larpon/QtFirebase/issues/81","id":346295672,"node_id":"MDU6SXNzdWUzNDYyOTU2NzI=","number":81,"title":"Unable to build QtFirebase with Clang","user":{"login":"daljit97","id":3147428,"node_id":"MDQ6VXNlcjMxNDc0Mjg=","avatar_url":"https://avatars0.githubusercontent.com/u/3147428?v=4","gravatar_id":"","url":"https://api.github.com/users/daljit97","html_url":"https://github.com/daljit97","followers_url":"https://api.github.com/users/daljit97/followers","following_url":"https://api.github.com/users/daljit97/following{/other_user}","gists_url":"https://api.github.com/users/daljit97/gists{/gist_id}","starred_url":"https://api.github.com/users/daljit97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daljit97/subscriptions","organizations_url":"https://api.github.com/users/daljit97/orgs","repos_url":"https://api.github.com/users/daljit97/repos","events_url":"https://api.github.com/users/daljit97/events{/privacy}","received_events_url":"https://api.github.com/users/daljit97/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-07-31T17:55:33Z","updated_at":"2018-12-06T13:44:07Z","closed_at":null,"author_association":"NONE","body":"So I decided to switch to Clang as Google deprecated GCC, so I built Qt from the source with the command `./configure xplatform = android-clang` and I finally got it working. However, QtFirebase seems not working with Clang as I get many compile errors like the following\r\n```\r\n/opt/android-ndk-r16b/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/basic_string.h:1149: error: undefined reference to 'std::string::assign(char const*, unsigned int)'\r\n/tmpfs/src/gfile/kokoro_admobandroid/firebase/admob/client/cpp/src/include/firebase/admob/rewarded_video.h:105: error: undefined reference to 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)'\r\n/tmpfs/src/gfile/kokoro_admobandroid/firebase/admob/client/cpp/src/include/firebase/admob/rewarded_video.h:105: error: undefined reference to 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'\r\n....\r\n....\r\nclang++: error: linker command failed with exit code 1 (use -v to see invocation)\r\n```"},"comment":{"url":"https://api.github.com/repos/Larpon/QtFirebase/issues/comments/444874847","html_url":"https://github.com/Larpon/QtFirebase/issues/81#issuecomment-444874847","issue_url":"https://api.github.com/repos/Larpon/QtFirebase/issues/81","id":444874847,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDg3NDg0Nw==","user":{"login":"Markus87","id":6339979,"node_id":"MDQ6VXNlcjYzMzk5Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/6339979?v=4","gravatar_id":"","url":"https://api.github.com/users/Markus87","html_url":"https://github.com/Markus87","followers_url":"https://api.github.com/users/Markus87/followers","following_url":"https://api.github.com/users/Markus87/following{/other_user}","gists_url":"https://api.github.com/users/Markus87/gists{/gist_id}","starred_url":"https://api.github.com/users/Markus87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Markus87/subscriptions","organizations_url":"https://api.github.com/users/Markus87/orgs","repos_url":"https://api.github.com/users/Markus87/repos","events_url":"https://api.github.com/users/Markus87/events{/privacy}","received_events_url":"https://api.github.com/users/Markus87/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T13:44:07Z","updated_at":"2018-12-06T13:44:07Z","author_association":"NONE","body":"Yes, I used Qt Creator 4.8 and Qt 5.12.\r\nI just test Firebase messaging, I used NDK-r18b. It seems to work.(mostly)\r\nWhy the limit to ndk-r16b?\r\n"}}
{"actor":{"display_login":"Markus87"}}