[cfe-dev] Latest clang shows failure in redeclaration with dllimport
eldlistmailingz at tropicsoft.com
Tue May 5 10:03:54 PDT 2015
Testing some Boost libraries with the latest build of clang I get the
redeclaration of 'Sleep' cannot add 'dllimport' attribute
WINBASEAPI VOID WINAPI Sleep (DWORD dwMilliseconds);
..\..\..\boost/smart_ptr/detail/yield_k.hpp:63:29: note: previous
declaration is here
extern "C" void __stdcall Sleep( unsigned long ms );
1 error generated.
Has clang now changed so that a redeclaration with or without a
'dllimport' attribute is now an error ?
More information about the cfe-dev