{"action":"created","issue":{"url":"https://api.github.com/repos/jeffdaily/parasail/issues/6","labels_url":"https://api.github.com/repos/jeffdaily/parasail/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jeffdaily/parasail/issues/6/comments","events_url":"https://api.github.com/repos/jeffdaily/parasail/issues/6/events","html_url":"https://github.com/jeffdaily/parasail/issues/6","id":116873825,"number":6,"title":"Missing #include <string.h> in tests","user":{"login":"tseemann","id":453972,"avatar_url":"https://avatars.githubusercontent.com/u/453972?v=3","gravatar_id":"","url":"https://api.github.com/users/tseemann","html_url":"https://github.com/tseemann","followers_url":"https://api.github.com/users/tseemann/followers","following_url":"https://api.github.com/users/tseemann/following{/other_user}","gists_url":"https://api.github.com/users/tseemann/gists{/gist_id}","starred_url":"https://api.github.com/users/tseemann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tseemann/subscriptions","organizations_url":"https://api.github.com/users/tseemann/orgs","repos_url":"https://api.github.com/users/tseemann/repos","events_url":"https://api.github.com/users/tseemann/events{/privacy}","received_events_url":"https://api.github.com/users/tseemann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-13T23:21:53Z","updated_at":"2015-11-13T23:47:59Z","closed_at":"2015-11-13T23:47:59Z","body":"I think `#include <string.h>` will solve this warning.\r\n\r\n```\r\ntests/test_verify.c: In function 'main':\r\ntests/test_verify.c:343:36: warning: implicit declaration of function 'strcasestr' [-Wimplicit-function-declaration]\r\n                 do_sse2 = (NULL == strcasestr(optarg, \"sse2\"));\r\n                                    ^\r\ntests/test_verify.c:343:33: warning: comparison between pointer and integer\r\n                 do_sse2 = (NULL == strcasestr(optarg, \"sse2\"));\r\n                                 ^\r\ntests/test_verify.c:344:34: warning: comparison between pointer and integer\r\n                 do_sse41 = (NULL == strcasestr(optarg, \"sse41\"));\r\n                                  ^\r\ntests/test_verify.c:345:33: warning: comparison between pointer and integer\r\n                 do_avx2 = (NULL == strcasestr(optarg, \"avx2\"));\r\n                                 ^\r\ntests/test_verify.c:346:33: warning: comparison between pointer and integer\r\n                 do_disp = (NULL == strcasestr(optarg, \"disp\"));\r\n                                 ^\r\ntests/test_verify.c:347:31: warning: comparison between pointer and integer\r\n                 do_nw = (NULL == strcasestr(optarg, \"nw\"));\r\n                               ^\r\ntests/test_verify.c:348:31: warning: comparison between pointer and integer\r\n                 do_sg = (NULL == strcasestr(optarg, \"sg\"));\r\n                               ^\r\ntests/test_verify.c:349:31: warning: comparison between pointer and integer\r\n                 do_sw = (NULL == strcasestr(optarg, \"sw\"));\r\n```"},"comment":{"url":"https://api.github.com/repos/jeffdaily/parasail/issues/comments/156592225","html_url":"https://github.com/jeffdaily/parasail/issues/6#issuecomment-156592225","issue_url":"https://api.github.com/repos/jeffdaily/parasail/issues/6","id":156592225,"user":{"login":"jeffdaily","id":904248,"avatar_url":"https://avatars.githubusercontent.com/u/904248?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffdaily","html_url":"https://github.com/jeffdaily","followers_url":"https://api.github.com/users/jeffdaily/followers","following_url":"https://api.github.com/users/jeffdaily/following{/other_user}","gists_url":"https://api.github.com/users/jeffdaily/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffdaily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffdaily/subscriptions","organizations_url":"https://api.github.com/users/jeffdaily/orgs","repos_url":"https://api.github.com/users/jeffdaily/repos","events_url":"https://api.github.com/users/jeffdaily/events{/privacy}","received_events_url":"https://api.github.com/users/jeffdaily/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T23:47:59Z","updated_at":"2015-11-13T23:47:59Z","body":"Fixed in 650a8ddb1d84443429c3c22930e00a76cdb8f954.  Turns out strcasestr is nonstandard, so I switched it to use strstr instead.  This is for one of my test programs, anyway, so it's not terribly critical."}}