[Insight-developers] un-expected windows problem on the "master" branch of ITK

Bill Hoffman bill.hoffman at kitware.com
Fri Aug 5 16:42:36 EDT 2011


OK, forget my last message.  I have a fix.

If you just remove the the ifdef _MSC_VER stuff it compiles.


It will compile with this patch:

--- a/Modules/Core/Common/test/itkLoggerThreadWrapperTest.cxx
+++ b/Modules/Core/Common/test/itkLoggerThreadWrapperTest.cxx
@@ -19,7 +19,6 @@
     //Warning about: identifier was truncated to '255' characters in 
the debug i
  #pragma warning( disable : 4786 )
  #endif
-#if ! defined(_MSC_VER) //NOTE: This class does not work under MSVS6

  #include "itkLoggerThreadWrapper.h"
  #include <iostream>
@@ -92,7 +91,6 @@ public:
  private:
    itk::LoggerBase* m_Logger;
  };
-#endif// ! defined(_MSC_VER) //NOTE: This class does not work under MSVS6

  ITK_THREAD_RETURN_TYPE ThreadedGenerateLogMessages2(void* arg)
  {


More information about the Insight-developers mailing list