Using some boost features like variants in this static library (boost 1.54). Visual Studio 2010 and 2013 preview both compile this project fine. However, on 2012, no matter if in XP toolset or not, it hangs on 'Generating Code...'. The hang happens either in cl.exe during compiling the static library in Debug mode, or in link.exe during linking my main executable with the static library in Release mode (because LTCG is enabled, the hang actually happens in the same place in c2.dll, just different exe is doing the code generation step)
While it's hung like this, the cl.exe or link.exe process is using 100% of a single core's CPU time, the memory usage remains the same (the working set is not increasing).
I attached to it while it was like this, and this is the call stack I got when i paused:
c2.dll!Tuple::Unlink(class Tuple *) Unknown
c2.dll!Tuple::MoveBefore(class Tuple *,class Tuple *) Unknown
c2.dll!ThreadPool::Thread::ThreadMain(void *) Unknown
msvcr110.dll!_callthreadstartex() Line 354 C
msvcr110.dll!_threadstartex(void * ptd) Line 332 C
If I pause, I either get this callstack, or one that's the same, except with 'InsertBefore' instead of 'MoveBefore'
So this project is currently uncompilable with visual studio 2012... have to either keep having 2010 installed just for it, or use 2013 preview which isn't very well supported by my external libraries...