[Boost-bugs] [Boost C++ Libraries] #12384: GetCurrentProcessId : is filling to get definition on "WinCE platform" for Release mode

Subject: [Boost-bugs] [Boost C++ Libraries] #12384: GetCurrentProcessId : is filling to get definition on "WinCE platform" for Release mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-08-09 08:25:20


#12384: GetCurrentProcessId : is filling to get definition on "WinCE platform" for
Release mode
-------------------------------+---------------------
 Reporter: manoharreddy620@… | Owner: andysem
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: winapi
  Version: Boost 1.59.0 | Severity: Problem
 Keywords: WinCE |
-------------------------------+---------------------
 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".

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12384>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC