{"action":"created","issue":{"url":"https://api.github.com/repos/mapsme/omim/issues/4107","repository_url":"https://api.github.com/repos/mapsme/omim","labels_url":"https://api.github.com/repos/mapsme/omim/issues/4107/labels{/name}","comments_url":"https://api.github.com/repos/mapsme/omim/issues/4107/comments","events_url":"https://api.github.com/repos/mapsme/omim/issues/4107/events","html_url":"https://github.com/mapsme/omim/issues/4107","id":172182221,"number":4107,"title":"Compile error: use of undeclared identifier 'strcmp'","user":{"login":"ackalker","id":429567,"avatar_url":"https://avatars.githubusercontent.com/u/429567?v=3","gravatar_id":"","url":"https://api.github.com/users/ackalker","html_url":"https://github.com/ackalker","followers_url":"https://api.github.com/users/ackalker/followers","following_url":"https://api.github.com/users/ackalker/following{/other_user}","gists_url":"https://api.github.com/users/ackalker/gists{/gist_id}","starred_url":"https://api.github.com/users/ackalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ackalker/subscriptions","organizations_url":"https://api.github.com/users/ackalker/orgs","repos_url":"https://api.github.com/users/ackalker/repos","events_url":"https://api.github.com/users/ackalker/events{/privacy}","received_events_url":"https://api.github.com/users/ackalker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-19T17:37:41Z","updated_at":"2016-08-22T08:36:23Z","closed_at":null,"body":"Building from Git master on Arch Linux x86_64, clang 3.8.1, after a quick workaround for #4106, I'm getting the following error:\r\n\r\n```\r\nclang++ -c -pipe -fdata-sections -ffunction-sections -march=x86-64 -mtune=generic \r\n-pipe -fstack-protector-strong -O3 -ffast-math -g -fPIC -std=gnu++11 -Wall -W -Wno\r\n-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wno-unused-local-typedef\r\n -Wno-sign-conversion -Werror=return-type -D_REENTRANT -DRELEASE -D_RELEASE -DNDEBUG -DQT_NO_DEBUG -I. -I.. -I../3party/boost -I../3party/glm -I../3party/protobuf/src -I../3party/expat/lib -I../3party/freetype/include -I/usr/lib/qt/mkspecs/linux-clang -o ../out/release/tmp/drape_frontend/follow_animation.o animation/follow_animation.cpp\r\nIn file included from animation/follow_animation.cpp:4:\r\n./animation_system.hpp:47:39: error: use of undeclared identifier 'strcmp'\r\n            (customType == nullptr || strcmp(anim->GetCustomType().c_str()...\r\n                                      ^\r\n1 error generated.\r\n```\r\n\r\nFrom looking at the `#include`s, I take it that none of them has the required line:\r\n```c++\r\n#include <cstring>\r\n```\r\n\r\nPerhaps it is better to replace C string comparison using `strcmp` with a C++ `std::string` comparison using `==`? This would eliminate the need to include `<cstring>`, but I haven't tested it yet. Could there be problems with character encodings? Please advise."},"comment":{"url":"https://api.github.com/repos/mapsme/omim/issues/comments/241347122","html_url":"https://github.com/mapsme/omim/issues/4107#issuecomment-241347122","issue_url":"https://api.github.com/repos/mapsme/omim/issues/4107","id":241347122,"user":{"login":"ygorshenin","id":454567,"avatar_url":"https://avatars.githubusercontent.com/u/454567?v=3","gravatar_id":"","url":"https://api.github.com/users/ygorshenin","html_url":"https://github.com/ygorshenin","followers_url":"https://api.github.com/users/ygorshenin/followers","following_url":"https://api.github.com/users/ygorshenin/following{/other_user}","gists_url":"https://api.github.com/users/ygorshenin/gists{/gist_id}","starred_url":"https://api.github.com/users/ygorshenin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ygorshenin/subscriptions","organizations_url":"https://api.github.com/users/ygorshenin/orgs","repos_url":"https://api.github.com/users/ygorshenin/repos","events_url":"https://api.github.com/users/ygorshenin/events{/privacy}","received_events_url":"https://api.github.com/users/ygorshenin/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T08:36:23Z","updated_at":"2016-08-22T08:36:23Z","body":"I've just created https://github.com/mapsme/omim/pull/4116. Please, try to re-build the project after merge."}}
{"actor":{"display_login":"ygorshenin"}}