Opened 7 years ago
Closed 6 years ago
#11896 closed Bugs (fixed)
compiler error in boost/detail/winapi/crypt.hpp
Reported by: | Owned by: | Andy Tompkins | |
---|---|---|---|
Milestone: | To Be Determined | Component: | winapi |
Version: | Boost 1.60.0 | Severity: | Problem |
Keywords: | Cc: |
Description
compiler error in boost/detail/winapi/crypt.hpp in very special case using VS2012 (cl 11.0) for x64 build targeting Windows 2000
- - -
#define _WIN32_WINNT 0x0500
#include <windows.h>
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_generators.hpp>
- - -
Results in:
Microsoft (R) C/C++-Optimierungscompiler Version 17.00.61030 for x64
...boost_1_60/boost/detail/winapi/crypt.hpp(102) : error C2733: 'CryptReleaseContext' : error C2733 second C linkage of overloaded function not allowed
C:\Program Files (x86)\Windows Kits\8.0\include\um\wincrypt.h(1128): See declaration of 'CryptReleaseContext'
...boost_1_60/boost/uuid/seed_rng.hpp(115) : error C2668: 'CryptReleaseContext': ambiguous call to overloaded function
C:\Program Files (x86)\Windows Kits\8.0\include\um\wincrypt.h(1128): could be 'BOOL CryptReleaseContext(HCRYPTPROV,ULONG_PTR)' ...boost_1_60/boost/detail/winapi/crypt.hpp(102): or "boost::detail::winapi::BOOL_ CryptReleaseContext(boost::detail::winapi::HCRYPTPROV_,boost::detail::winapi::DWORD_)"
Change History (2)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Component: | uuid → winapi |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Filed winapi PR#37