Boost logo

Boost Users :

Subject: [Boost-users] [Thread] Version 1.66.0 incompatible with ISOLATION_AWARE_ENABLED
From: Jim Wilburn (jwilburn_at_[hidden])
Date: 2018-01-03 21:01:41

I work on a Windows code base that I have been updating from Boost 1.64.0 to Boost 1.66.0. One of the projects sets ISOLATION_AWARE_ENABLED to 1 (refer to
The project also includes <boost/thread.hpp>. The Windows SDK version is 10.0.16299.0. The include chain is:
The last include contains constructions such as:
      LoadLibraryA(boost::winapi::LPCSTR_ lpFileName);
With a nonzero ISOLATION_AWARE_ENABLED, this results in redefinition errors, e.g.:
      .../boost/winapi/dll.hpp(38): error C2375: 'IsolationAwareLoadLibraryA': redefinition; different linkage
     ...\include\10.0.16299.0\um\winbase.inl(287): note: see declaration of 'IsolationAwareLoadLibraryA'

Jim Wilburn

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at