Comments (3)
On 29.06.2015 09:21, Vicente J. Botet Escriba wrote:
Hi,
I'm getting this error in
http://www.boost.org/development/tests/develop/developer/output/teeks99-08a-win2012R2-64on64-boost-bin-v2-libs-thread-test-async__async_executor_p-test-msvc-8-0-dbg-adrs-mdl-64-thrd-mlt.html| call "c:\users\boost\appdata\local\temp\boost_regression\b2_msvc_8.0_vcvarsall_amd64.cmd" >nul
cl /Zm800 -nologo @"D:\t08\run\results\boost\bin.v2\libs\chrono\build\msvc-8.0\dbg\adrs-mdl-64\thrd-mlt\chrono.obj.rsp"chrono.cpp
..\boost/detail/winapi/time.hpp(90) : error C2039: 'GetTickCount64' : is not a member of '`global namespace''
..\boost/detail/winapi/time.hpp(90) : error C2873: 'GetTickCount64' : symbol cannot be used in a using-declaration|
|What has been changed and how can I fix it?
The problem seems to be caused by the change of the default Windows API
to Vista and later. The Windows SDK shipped with MSVC-8 does not support
Vista API, and in your config.hpp you define BOOST_USE_WINDOWS_H which
makes the real windows.h being used.
I will see how to better fix this later today. One idea is to limit
WinAPI version based on the compiler.
from winapi.
Fixed in b8e2ad5.
from winapi.
Thanks.
from winapi.
Related Issues (20)
- Defines min and max macros on Windows that conflict with standard C++ HOT 9
- incompatibilty with ISOLATION_AWARE_ENABLED HOT 1
- Cygwin 64 issue HOT 4
- warning on anonymous struct HOT 1
- warning on duplicate macro definitions HOT 1
- Windows CE 7.0 and Windows Mobile 6.0 do not always dllimport WINAPI functions HOT 5
- BOOST_INTERLOCKED_EXCHANGE_ADD doesn't work with clang(-cl) HOT 6
- STRICT macro defined in basic_types.hpp HOT 1
- Build Failure with Boost 1.68 Using GCC 8.2.1 and MinGW-w64 (Windows, _WIN32_WINNT=0xA00) HOT 1
- Compiling with MSVC for ARM64 emits warning C4302 (truncation from 'void *const ' to 'long')
- warning C28251: Inconsistent annotation for function HOT 4
- Missing #include sdkddkver.h before checking _WIN32_WINNT HOT 1
- basic_types.hpp includes <winerror.h> HOT 3
- Compile error when including boost\thread\win32\thread_data.hpp on win64 HOT 2
- clang-cl compilation error HOT 12
- Error C2467 when "Disable Language Extensions" is set to "Yes (/Za)" in MSVC 16.8 HOT 3
- Multiple Errors - C28251 in VS 2022 (17.0.3) - v143 HOT 1
- The Boost WINAPI partitioning scheme doesn't work for WINAPI_FAMILY_GAMES HOT 4
- Problem building 1.81.0 on MSVC 14.3 (VS2022 17.6.2) with sanitizer HOT 5
- CompareObjectHandles is not a member of global namespace HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winapi.