{"action":"created","issue":{"url":"https://api.github.com/repos/davidgfnet/whatsapp-purple/issues/221","labels_url":"https://api.github.com/repos/davidgfnet/whatsapp-purple/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/davidgfnet/whatsapp-purple/issues/221/comments","events_url":"https://api.github.com/repos/davidgfnet/whatsapp-purple/issues/221/events","html_url":"https://github.com/davidgfnet/whatsapp-purple/issues/221","id":57718240,"number":221,"title":"Compiling under windows MakeAttr Macro error (wacommon.h)","user":{"login":"Tzaoh","id":5722357,"avatar_url":"https://avatars.githubusercontent.com/u/5722357?v=3","gravatar_id":"","url":"https://api.github.com/users/Tzaoh","html_url":"https://github.com/Tzaoh","followers_url":"https://api.github.com/users/Tzaoh/followers","following_url":"https://api.github.com/users/Tzaoh/following{/other_user}","gists_url":"https://api.github.com/users/Tzaoh/gists{/gist_id}","starred_url":"https://api.github.com/users/Tzaoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tzaoh/subscriptions","organizations_url":"https://api.github.com/users/Tzaoh/orgs","repos_url":"https://api.github.com/users/Tzaoh/repos","events_url":"https://api.github.com/users/Tzaoh/events{/privacy}","received_events_url":"https://api.github.com/users/Tzaoh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-15T05:06:08Z","updated_at":"2015-03-10T04:34:03Z","closed_at":null,"body":"I include all the files and edit Makefile.mingw. I got this error 4 times during compilation.\r\naparently there is something wrong in wacommon.h in the macros MakeAttr{1, 2, 3, 4, 5}\r\n\r\nwhatsapp-protocol.cc|56|error: no matching function for call to 'std::map<std::basic_string<char>, std::basic_string<char> >::map(<brace-enclosed initializer list>)'|\r\n\r\nBuild messages: http://pastebin.com/2Mnxh47d"},"comment":{"url":"https://api.github.com/repos/davidgfnet/whatsapp-purple/issues/comments/77994521","html_url":"https://github.com/davidgfnet/whatsapp-purple/issues/221#issuecomment-77994521","issue_url":"https://api.github.com/repos/davidgfnet/whatsapp-purple/issues/221","id":77994521,"user":{"login":"annonbacca","id":11142814,"avatar_url":"https://avatars.githubusercontent.com/u/11142814?v=3","gravatar_id":"","url":"https://api.github.com/users/annonbacca","html_url":"https://github.com/annonbacca","followers_url":"https://api.github.com/users/annonbacca/followers","following_url":"https://api.github.com/users/annonbacca/following{/other_user}","gists_url":"https://api.github.com/users/annonbacca/gists{/gist_id}","starred_url":"https://api.github.com/users/annonbacca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annonbacca/subscriptions","organizations_url":"https://api.github.com/users/annonbacca/orgs","repos_url":"https://api.github.com/users/annonbacca/repos","events_url":"https://api.github.com/users/annonbacca/events{/privacy}","received_events_url":"https://api.github.com/users/annonbacca/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T04:34:03Z","updated_at":"2015-03-10T04:34:03Z","body":"Disregard that, I think it works, I just found my libwhatsapp.dll in the source directory freshly compiled. Took me hours to sort this one out but I would just like to confirm that It works.\r\n\r\nWas using a similar GCC version to Tzaoh, gcc (tdm-1) 4.7.1\r\nand I changed change std=c++11 to std=gnu++11 "}}