{"action":"created","issue":{"url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/427","labels_url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/427/labels{/name}","comments_url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/427/comments","events_url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/427/events","html_url":"https://github.com/ofi-cray/libfabric-cray/pull/427","id":112633786,"number":427,"title":"prov/gni: swat malloc - no proto type warning","user":{"login":"hppritcha","id":7818666,"avatar_url":"https://avatars.githubusercontent.com/u/7818666?v=3","gravatar_id":"","url":"https://api.github.com/users/hppritcha","html_url":"https://github.com/hppritcha","followers_url":"https://api.github.com/users/hppritcha/followers","following_url":"https://api.github.com/users/hppritcha/following{/other_user}","gists_url":"https://api.github.com/users/hppritcha/gists{/gist_id}","starred_url":"https://api.github.com/users/hppritcha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hppritcha/subscriptions","organizations_url":"https://api.github.com/users/hppritcha/orgs","repos_url":"https://api.github.com/users/hppritcha/repos","events_url":"https://api.github.com/users/hppritcha/events{/privacy}","received_events_url":"https://api.github.com/users/hppritcha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-21T16:54:48Z","updated_at":"2015-10-22T00:50:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ofi-cray/libfabric-cray/pulls/427","html_url":"https://github.com/ofi-cray/libfabric-cray/pull/427","diff_url":"https://github.com/ofi-cray/libfabric-cray/pull/427.diff","patch_url":"https://github.com/ofi-cray/libfabric-cray/pull/427.patch"},"body":"If one configures libfabric with\r\nexport CFLAGS=\"-g\"\r\nand compiles with the gcc 5.1.0 compiler,\r\none gets a bunch of warning about no prototype\r\nfor malloc.\r\n\r\nThis commit suppresses these warnings.\r\n\r\n@e-harvey \r\n@sungeunchoi \r\n\r\nSigned-off-by: Howard Pritchard <howardp@lanl.gov>"},"comment":{"url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/comments/150065621","html_url":"https://github.com/ofi-cray/libfabric-cray/pull/427#issuecomment-150065621","issue_url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/427","id":150065621,"user":{"login":"e-harvey","id":7410674,"avatar_url":"https://avatars.githubusercontent.com/u/7410674?v=3","gravatar_id":"","url":"https://api.github.com/users/e-harvey","html_url":"https://github.com/e-harvey","followers_url":"https://api.github.com/users/e-harvey/followers","following_url":"https://api.github.com/users/e-harvey/following{/other_user}","gists_url":"https://api.github.com/users/e-harvey/gists{/gist_id}","starred_url":"https://api.github.com/users/e-harvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-harvey/subscriptions","organizations_url":"https://api.github.com/users/e-harvey/orgs","repos_url":"https://api.github.com/users/e-harvey/repos","events_url":"https://api.github.com/users/e-harvey/events{/privacy}","received_events_url":"https://api.github.com/users/e-harvey/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T00:50:05Z","updated_at":"2015-10-22T00:50:05Z","body":"Has stdlib.h been included in fi.h?  It's looks like it needs to be included.\n\n> On Oct 21, 2015, at 3:41 PM, Howard Pritchard <notifications@github.com> wrote:\n> \n> /include/fi.h: In function 'mem_dup':\n> ./include/fi.h:78:14: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]\n>   if ((dest = malloc(size)))\n>               ^\n> ./include/fi.h:78:14: warning: incompatible implicit declaration of built-in function 'malloc'\n> ./include/fi.h:78:14: note: include '<stdlib.h>' or provide a declaration of 'malloc'\n>   CCLD     prov/gni/test/gnitest\n> make[1]: Leaving directory `/cray/css/u17/n17276/libfabric-cray'\n> n17276@tiger:/cray/css/users/n17276/libfabric-cray> (topic/new_vc_setup2 *)which gcc\n> /opt/gcc/5.1.0/bin/gcc\n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}