AMDG Terdale, Shantibhushan wrote:
I am using boost for the first time and not much aware of whets going on. I am including serialization archive hpps and it is including these lines eventually somewhere inside
namespace detail{
#if !BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x564) )
using namespace boost::detail;
#endif
I am using Visual Studio and MSVC compiler and this using directive is causing me problems. There is a CRITICAL_SECTION defined in boos::detail which conflicts with standard windows CRITICAL_SECTION.
The thing am not able to understand is how is this Workaround works ? If this workaround checks for BORLANDC then shouldn't it just place that code for Borland compiler?
Did you notice the ! The using directive will appear for all compilers except borland.
Please help. Is there any other macro I can define or undefine that will get rid of this.
Grrr... I think this is a compiler bug. Do you have a small test case? Which version of msvc are you using? What file is this in? In Christ, Steven Watanabe