|
Boost : |
Subject: [boost] [winapi] [thread] Conflicting declarations on MinGW
From: Antony Polukhin (antoshkka_at_[hidden])
Date: 2015-12-31 05:40:40
Hi,
Some of the Boost.DLL tests produce following warnings:
../boost/thread/win32/thread_primitives.hpp:175:83: warning: declaration of
'void* boost::detail::win32::GetModuleHandleA(const char*)' with C language
linkage
../boost/detail/winapi/dll.hpp:47:1: warning: conflicts with previous
declaration 'HINSTANCE__* GetModuleHandleA(boost::detail::winapi::LPCSTR_)'
../boost/thread/win32/thread_primitives.hpp:195:94: warning: declaration of
'int (__attribute__((__stdcall__)) *
boost::detail::win32::GetProcAddress(void*, const char*))()' with C
language linkage
../boost/detail/winapi/dll.hpp:82:1: warning: conflicts with previous
declaration 'int (__attribute__((__stdcall__)) *
GetProcAddress(boost::detail::winapi::HMODULE_,
boost::detail::winapi::LPCSTR_))()'
Andrey, Vicente what's the best way to resolve such issues?
-- Best regards, Antony Polukhin
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk