{"action":"closed","issue":{"url":"https://api.github.com/repos/cesanta/mongoose/issues/774","repository_url":"https://api.github.com/repos/cesanta/mongoose","labels_url":"https://api.github.com/repos/cesanta/mongoose/issues/774/labels{/name}","comments_url":"https://api.github.com/repos/cesanta/mongoose/issues/774/comments","events_url":"https://api.github.com/repos/cesanta/mongoose/issues/774/events","html_url":"https://github.com/cesanta/mongoose/issues/774","id":202382903,"number":774,"title":"clang: comparison of integers of different signs","user":{"login":"stromnet","id":668449,"avatar_url":"https://avatars.githubusercontent.com/u/668449?v=3","gravatar_id":"","url":"https://api.github.com/users/stromnet","html_url":"https://github.com/stromnet","followers_url":"https://api.github.com/users/stromnet/followers","following_url":"https://api.github.com/users/stromnet/following{/other_user}","gists_url":"https://api.github.com/users/stromnet/gists{/gist_id}","starred_url":"https://api.github.com/users/stromnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stromnet/subscriptions","organizations_url":"https://api.github.com/users/stromnet/orgs","repos_url":"https://api.github.com/users/stromnet/repos","events_url":"https://api.github.com/users/stromnet/events{/privacy}","received_events_url":"https://api.github.com/users/stromnet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"alashkin","id":5459304,"avatar_url":"https://avatars.githubusercontent.com/u/5459304?v=3","gravatar_id":"","url":"https://api.github.com/users/alashkin","html_url":"https://github.com/alashkin","followers_url":"https://api.github.com/users/alashkin/followers","following_url":"https://api.github.com/users/alashkin/following{/other_user}","gists_url":"https://api.github.com/users/alashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/alashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alashkin/subscriptions","organizations_url":"https://api.github.com/users/alashkin/orgs","repos_url":"https://api.github.com/users/alashkin/repos","events_url":"https://api.github.com/users/alashkin/events{/privacy}","received_events_url":"https://api.github.com/users/alashkin/received_events","type":"User","site_admin":false},"assignees":[{"login":"alashkin","id":5459304,"avatar_url":"https://avatars.githubusercontent.com/u/5459304?v=3","gravatar_id":"","url":"https://api.github.com/users/alashkin","html_url":"https://github.com/alashkin","followers_url":"https://api.github.com/users/alashkin/followers","following_url":"https://api.github.com/users/alashkin/following{/other_user}","gists_url":"https://api.github.com/users/alashkin/gists{/gist_id}","starred_url":"https://api.github.com/users/alashkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alashkin/subscriptions","organizations_url":"https://api.github.com/users/alashkin/orgs","repos_url":"https://api.github.com/users/alashkin/repos","events_url":"https://api.github.com/users/alashkin/events{/privacy}","received_events_url":"https://api.github.com/users/alashkin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-01-22T13:29:20Z","updated_at":"2017-02-07T08:17:04Z","closed_at":"2017-02-07T08:17:04Z","body":"On 6.7 git checkout, FreeBSD with clang 3.4.1:\r\n\r\n```\r\nmongoose/examples/simplest_web_server$ gmake\r\ncc simplest_web_server.c ../../mongoose.c -o simplest_web_server -g -W -Wall -Werror -I../.. -Wno-unused-function  -DMG_DISABLE_DAV_AUTH -DMG_ENABLE_FAKE_DAVLOCK -pthread\r\n../../mongoose.c:3618:15: error: comparison of integers of different signs: 'sock_t' (aka 'int') and 'unsigned int' [-Werror,-Wsign-compare]\r\n      && sock < FD_SETSIZE\r\n         ~~~~ ^ ~~~~~~~~~~\r\n../../mongoose.c:3661:20: error: comparison of integers of different signs: 'sock_t' (aka 'int') and 'unsigned int' [-Werror,-Wsign-compare]\r\n      if (nc->sock >= FD_SETSIZE && try_dup) {\r\n          ~~~~~~~~ ^  ~~~~~~~~~~\r\n../../mongoose.c:3663:39: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare]\r\n        if (new_sock >= 0 && new_sock < FD_SETSIZE) {\r\n                             ~~~~~~~~ ^ ~~~~~~~~~~\r\n3 errors generated.\r\ngmake: *** [../examples.mk:30: simplest_web_server] Error 1\r\n\r\n```"}}
{"actor":{"display_login":"rojer"}}