{"action":"created","issue":{"url":"https://api.github.com/repos/torognes/swarm/issues/62","labels_url":"https://api.github.com/repos/torognes/swarm/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/torognes/swarm/issues/62/comments","events_url":"https://api.github.com/repos/torognes/swarm/issues/62/events","html_url":"https://github.com/torognes/swarm/issues/62","id":100984266,"number":62,"title":"Compilation warning with gcc 4.9","user":{"login":"frederic-mahe","id":2270759,"avatar_url":"https://avatars.githubusercontent.com/u/2270759?v=3","gravatar_id":"","url":"https://api.github.com/users/frederic-mahe","html_url":"https://github.com/frederic-mahe","followers_url":"https://api.github.com/users/frederic-mahe/followers","following_url":"https://api.github.com/users/frederic-mahe/following{/other_user}","gists_url":"https://api.github.com/users/frederic-mahe/gists{/gist_id}","starred_url":"https://api.github.com/users/frederic-mahe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frederic-mahe/subscriptions","organizations_url":"https://api.github.com/users/frederic-mahe/orgs","repos_url":"https://api.github.com/users/frederic-mahe/repos","events_url":"https://api.github.com/users/frederic-mahe/events{/privacy}","received_events_url":"https://api.github.com/users/frederic-mahe/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/torognes/swarm/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-14T10:36:20Z","updated_at":"2015-08-21T12:28:35Z","closed_at":null,"body":"When compiling with the new GCC:\r\n\r\n```sh\r\ng++ -Wall -Wsign-compare -O3 -msse2 -mtune=core2 -Icityhash -g -c -o util.o util.cc\r\nutil.cc: In function ‘void* xmalloc(size_t)’:\r\nutil.cc:97:10: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized]\r\n   return t;\r\n          ^\r\n```\r\n\r\nIt concerns that function:\r\n```C++\r\nvoid * xmalloc(size_t size)\r\n{\r\n  const size_t alignment = 16;\r\n  void * t;\r\n  posix_memalign(& t, alignment, size);\r\n\r\n  if (t==NULL)\r\n    fatal(\"Unable to allocate enough memory.\");\r\n\r\n  return t;\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/torognes/swarm/issues/comments/133410309","html_url":"https://github.com/torognes/swarm/issues/62#issuecomment-133410309","issue_url":"https://api.github.com/repos/torognes/swarm/issues/62","id":133410309,"user":{"login":"torognes","id":2765754,"avatar_url":"https://avatars.githubusercontent.com/u/2765754?v=3","gravatar_id":"","url":"https://api.github.com/users/torognes","html_url":"https://github.com/torognes","followers_url":"https://api.github.com/users/torognes/followers","following_url":"https://api.github.com/users/torognes/following{/other_user}","gists_url":"https://api.github.com/users/torognes/gists{/gist_id}","starred_url":"https://api.github.com/users/torognes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torognes/subscriptions","organizations_url":"https://api.github.com/users/torognes/orgs","repos_url":"https://api.github.com/users/torognes/repos","events_url":"https://api.github.com/users/torognes/events{/privacy}","received_events_url":"https://api.github.com/users/torognes/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T12:28:35Z","updated_at":"2015-08-21T12:28:35Z","body":"This issue should be fixed in the swarm version 2.1.2."}}