Re: [Boost-bugs] [Boost C++ Libraries] #4075: undefined reference to `_imp__InterlockedExchange' when compiling interprocess example

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4075: undefined reference to `_imp__InterlockedExchange' when compiling interprocess example
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-04-15 13:29:30


#4075: undefined reference to `_imp__InterlockedExchange' when compiling
interprocess example
-----------------------------------+----------------------------------------
 Reporter: michael.kane@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: interprocess
  Version: Boost 1.42.0 | Severity: Problem
 Keywords: |
-----------------------------------+----------------------------------------

Comment(by michael.kane@…):

 If I compile with -DBOOST_USE_WINDOWS_H, I get a large number of compiler
 errors. The first few lines read:

 {{{
 ../../../boost/interprocess/detail/win32_api.hpp:501: error:
 'win32_find_data_t' has not been declared
 ../../../boost/interprocess/detail/win32_api.hpp: In function 'void*
 boost::interprocess::winapi::find_first_file(const char*, int*)':
 ../../../boost/interprocess/detail/win32_api.hpp: 502: error: cannot
 convert 'int*' to '_WIN32_FIND_DATAA*' for argument '2' to 'void*
 FindFirstFileA(const CHAR*, _WIN32_FIND_DATAA*)'
 ../../../boost/interprocess/detail/win32_api.hpp: At global scope:
 ...
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4075#comment:2>
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:02 UTC