{"action":"created","issue":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1370","labels_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1370/labels{/name}","comments_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1370/comments","events_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1370/events","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/1370","id":56130207,"number":1370,"title":"Osmium Compilation Error at cast.hpp \"static_cast_with_assert\"","user":{"login":"htmlrb","id":10712736,"avatar_url":"https://avatars.githubusercontent.com/u/10712736?v=3","gravatar_id":"","url":"https://api.github.com/users/htmlrb","html_url":"https://github.com/htmlrb","followers_url":"https://api.github.com/users/htmlrb/followers","following_url":"https://api.github.com/users/htmlrb/following{/other_user}","gists_url":"https://api.github.com/users/htmlrb/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlrb/subscriptions","organizations_url":"https://api.github.com/users/htmlrb/orgs","repos_url":"https://api.github.com/users/htmlrb/repos","events_url":"https://api.github.com/users/htmlrb/events{/privacy}","received_events_url":"https://api.github.com/users/htmlrb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/labels/Windows","name":"Windows","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-31T16:30:58Z","updated_at":"2015-02-05T10:57:53Z","closed_at":null,"body":"Hi all,\r\nWhen building OSRM on VS2013 I get this error (the osrm-extract failed)\r\n>\r\n13>D:\\Garage\\DevCamp\\osrm-backend\\third_party\\osmium/util/cast.hpp(66): warning C4018: '<=' : signed/unsigned mismatch\r\n13>          D:\\Garage\\DevCamp\\osrm-backend\\third_party\\osmium/io/bzip2_compression.hpp(115) : see reference to function template instantiation 'T osmium::static_cast_with_assert<int,unsigned int,0>(const F)' being compiled\r\n13>          with\r\n13>          [\r\n13>              T=int\r\n13>  ,            F=unsigned int\r\n13>          ]\r\n13>D:\\Garage\\DevCamp\\osrm-backend\\third_party\\osmium/util/cast.hpp(58): error C2338: unnecessary static_cast_with_assert when casting into type of equal or larger size\r\n13>          D:\\Garage\\DevCamp\\osrm-backend\\third_party\\osmium/io/bzip2_compression.hpp(224) : see reference to function template instantiation 'T osmium::static_cast_with_assert<unsigned int,size_t,0>(const F)' being compiled\r\n13>          with\r\n13>          [\r\n13>              T=unsigned int\r\n13>  ,            F=size_t\r\n13>          ]\r\n14>D:\\Garage\\DevCamp\\osrm-backend\\data_structures\\hilbert_value.cpp(69): warning C4800: 'uint32_t' : forcing value to bool 'true' or 'false' (performance warning)\r\n...\r\n========== Build: 15 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/comments/73028617","html_url":"https://github.com/Project-OSRM/osrm-backend/issues/1370#issuecomment-73028617","issue_url":"https://api.github.com/repos/Project-OSRM/osrm-backend/issues/1370","id":73028617,"user":{"login":"DennisOSRM","id":1067895,"avatar_url":"https://avatars.githubusercontent.com/u/1067895?v=3","gravatar_id":"","url":"https://api.github.com/users/DennisOSRM","html_url":"https://github.com/DennisOSRM","followers_url":"https://api.github.com/users/DennisOSRM/followers","following_url":"https://api.github.com/users/DennisOSRM/following{/other_user}","gists_url":"https://api.github.com/users/DennisOSRM/gists{/gist_id}","starred_url":"https://api.github.com/users/DennisOSRM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DennisOSRM/subscriptions","organizations_url":"https://api.github.com/users/DennisOSRM/orgs","repos_url":"https://api.github.com/users/DennisOSRM/repos","events_url":"https://api.github.com/users/DennisOSRM/events{/privacy}","received_events_url":"https://api.github.com/users/DennisOSRM/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T10:57:53Z","updated_at":"2015-02-05T10:57:53Z","body":"Are you using stock VS2013 or the CTP? "}}