id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 1243,ODR violation by boost::detail::lightweight_mutex,Joaquín M López Muñoz,Peter Dimov,"boost/detail/flyweight_mutex.hpp implements a mutex class based on a Win32 CRITICAL_SECTION or using Pthreads according to the following pp logic: {{{ #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) // based on CRITICAL_SECTION #elif defined(BOOST_HAS_PTHREADS) // based on Pthreads }}} which violates ODR on those environments, such as Cygwin, where WIN32 or similar is not a predefined macro but depends on the inclusion of . A more detailed discussion of the issue at: http://lists.boost.org/Archives/boost/2007/09/127115.php",Bugs,closed,Boost 1.35.0,None,Boost 1.34.1,Problem,fixed,,