{"action":"opened","issue":{"url":"https://api.github.com/repos/boostorg/thread/issues/225","repository_url":"https://api.github.com/repos/boostorg/thread","labels_url":"https://api.github.com/repos/boostorg/thread/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/boostorg/thread/issues/225/comments","events_url":"https://api.github.com/repos/boostorg/thread/issues/225/events","html_url":"https://github.com/boostorg/thread/issues/225","id":345663118,"node_id":"MDU6SXNzdWUzNDU2NjMxMTg=","number":225,"title":"warning: cast between incompatible function types from FARPROC_ to gettickcount64_t","user":{"login":"kivadiu","id":3123190,"node_id":"MDQ6VXNlcjMxMjMxOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/3123190?v=4","gravatar_id":"","url":"https://api.github.com/users/kivadiu","html_url":"https://github.com/kivadiu","followers_url":"https://api.github.com/users/kivadiu/followers","following_url":"https://api.github.com/users/kivadiu/following{/other_user}","gists_url":"https://api.github.com/users/kivadiu/gists{/gist_id}","starred_url":"https://api.github.com/users/kivadiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kivadiu/subscriptions","organizations_url":"https://api.github.com/users/kivadiu/orgs","repos_url":"https://api.github.com/users/kivadiu/repos","events_url":"https://api.github.com/users/kivadiu/events{/privacy}","received_events_url":"https://api.github.com/users/kivadiu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-30T08:39:59Z","updated_at":"2018-07-30T08:39:59Z","closed_at":null,"author_association":"NONE","body":"While building 1.68.0 beta 1 on x86_64 cross-compiling to Windows 32 bits with mingw-w64 + g++ 8.2.0, I get the following warning:\r\n\r\n```\r\n\"i686-w64-mingw32-g++-8.2.0\"   -I/softs/win32-mingw-8.2.0/release/iconv/include -I/softs/win32-mingw-8.2.0/release/gettext/include -I/softs/win32-mingw-8.2.0/release/bzip2/include -I/softs/win32-mingw-8.2.0/release/zlib/include -I/softs/win32-mingw-8.2.0/release/jpeg-turbo/include -I/softs/win32-mingw-8.2.0/release/xz/include -I/softs/win32-mingw-8.2.0/release/tiff/include -I/softs/win32-mingw-8.2.0/release/png/include -std=c++14 -O2 -DNDEBUG -m32 -mthreads -O3 -finline-functions -Wno-inline -Wall -pedantic -march=i686 -Wextra -Wno-long-long -Wno-unused-parameter -Wunused-function -pedantic -DBOOST_ALL_NO_LIB=1 -DBOOST_ASIO_NO_DEPRECATED -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_FILESYSTEM_NO_DEPRECATED -DBOOST_LOG_WITHOUT_EVENT_LOG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_USES_CHRONO -DBOOST_THREAD_WIN32 -DBOOST_USE_WINDOWS_H -DNDEBUG -DWIN32_LEAN_AND_MEAN  -I\".\" -c -o \"bin.v2/libs/thread/build/gcc-8.2.0/release/link-static/target-os-windows/threadapi-win32/threading-multi/win32/thread_primitives.o\" \"libs/thread/src/win32/thread_primitives.cpp\"\r\nlibs/thread/src/win32/thread_primitives.cpp: In function 'boost::detail::win32::ticks_type boost::detail::win32::{anonymous}::get_tick_count_init()':\r\nlibs/thread/src/win32/thread_primitives.cpp:97:120: warning: cast between incompatible function types from 'boost::winapi::FARPROC_' {aka 'int (__attribute__((stdcall)) *)()'} to 'boost::detail::win32::detail::gettickcount64_t' {aka 'long long unsigned int (__attribute__((stdcall)) *)()'} [-Wcast-function-type]\r\n             (boost::detail::win32::detail::gettickcount64_t)boost::winapi::get_proc_address(hKernel32, \"GetTickCount64\");\r\n                                                                                                                        ^\r\n\r\n```"}}
{"actor":{"display_login":"kivadiu"}}