#415 Building with VS2010 failes

pending-invalid
nobody
None
1
2012-05-18
2012-05-18
Mateusz Loskot
No

I tried to build Console (SHA1:041d573f) using Visual Studio 2010 (with SP1) + WTL 8.1 (build 12085) 3/25/12 + Boost (SVN trunk) and it is failing due to ambiguous definitions, caused by C++11 features and Boost clash.
I looked at the code and I noticed it favours using namespace boost and using namespace std a lot.
IMHO, it would be better to fully qualify names.

Discussion

  • Kirill
    Kirill
    2012-05-18

    • priority: 5 --> 1
    • status: open --> pending-invalid
     
  • Kirill
    Kirill
    2012-05-18

    There is nothing wrong with using namespace (opinions differ, but I'll stick with mine).

    You can use _HAS_CPP0X=0 in your pre-processor defines to resolve ambiguities.