Opened 6 years ago
Last modified 4 years ago
#12384 new Bugs
GetCurrentProcessId : is filling to get definition on "WinCE platform" for Release mode
Reported by: | Owned by: | Andrey Semashev | |
---|---|---|---|
Milestone: | To Be Determined | Component: | winapi |
Version: | Boost 1.59.0 | Severity: | Problem |
Keywords: | WinCE | Cc: |
Description
We are getting below error from process.hpp for "GetCurrentProcessId" on WinCE platform:
\boost\implementation\boost_1_59_0\include\boost\detail\winapi\process.hpp(34) : error C2039: 'GetCurrentProcessId' : is not a member of '`global namespace
I have tried by including "kfuncs.h" for avoiding "error C2039: 'GetCurrentProcessId' : is not a memmber of '`global namespace" in "boost\detail\winapi\process.hpp", which resolves the above error but leading to the deferent errors listed below leading to cascading errors like below.
"error C2039: 'Sleep' : is not a member of '`global namespace, error C2873: 'Sleep' : symbol cannot be used in a using-declaration in "boost\detail\winapi\thread.hpp" for that i have added "#include <Winbase.h>"
After that getting errors like "error C2732: linkage specification contradicts earlier specification for 'TlsAlloc',see declaration of 'TlsAlloc" from "windows ce tools\sdks\sdk2wince7\include\armv4i\winbase.h".
Change History (2)
comment:1 by , 5 years ago
Owner: | changed from | to
---|
comment:2 by , 4 years ago
Owner: | changed from | to
---|
Please provide more information on how to set up the development environment to recreate this issue. For example I have Visual Studio 2010 through 2017 and Windows SDKs 7.0A through 10.0 but I probably don't have the sdk2wince7 one you mentioned in your description. Also please provide the command line you used to reproduce this in winapi/test, for example:
or something similar?