- # ---------------------------------------------------------------------
+ # ---------------------------------------------------------------------
  #
  # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
  #                        pour la SantÈ)
   CHECK_INCLUDE_FILE("inttypes.h"   CMAKE_HAVE_INTTYPES_H)
   # termios 
   CHECK_INCLUDE_FILE("termios.h"   CMAKE_HAVE_TERMIOS_H)
+
 ENDIF(UNIX)
+
 # Special Time support, two conventions: *NIX vs Win32
-CHECK_INCLUDE_FILE("sys/times.h"    CMAKE_HAVE_SYS_TIMES_H)
-CHECK_INCLUDE_FILE("sys/timeb.h"    CMAKE_HAVE_SYS_TIMEB_H)
+ CHECK_INCLUDE_FILE("sys/times.h"    CMAKE_HAVE_SYS_TIMES_H)
+ CHECK_INCLUDE_FILE("sys/timeb.h"    CMAKE_HAVE_SYS_TIMEB_H)
 #-----------------------------------------------------------------------------
 
   
 
   ///  Gets the input Data of a given name
   Data AtomicBlackBox::bbGetInput( const std::string &name ) 
   {
-    bbtkBlackBoxDebugMessage("data",7,
+  bbtkBlackBoxDebugMessage("data",7,
                             "AtomicBlackBox::bbGetInput(\""<<name<<"\")"
                             <<std::endl);  
     
   }
   //==========================================================================
 
- 
 }
 // EO namespace bbtk
 
 
 #include "bbtkBlackBox.h"
 #include "bbtkAtomicBlackBoxDescriptor.h"
-
 namespace bbtk
 {
 
 
 #include <set>
 
 // Signal/slot mechanism for output change events
-#include <boost/signals2/signal.hpp>
 #include <boost/bind.hpp>
+#include <boost/signals2/signal.hpp>
 
 
 #define bbtkBlackBoxMessage(key,level,mess) \
 
 namespace bbtk
 {
-
   struct Void { Void(int = 0) {} };
 
   class Factory;
 
     {                                                                  
       if (s->mThisPointer.lock())                                      
        {                                                               
-         boost::shared_ptr<U> p = s->GetThisPointer<U>();
+//EED 2018-07-11 minwg64 
+         boost::shared_ptr<U> p = s->template GetThisPointer<U>();
          if (!lock) s->mThisPointerLocked.reset();
          return p;
        }                                                               
                                             bool lock = false)
     {                                                                  
       if (s->mThisPointer.lock())                                      
-       {                                                               
-         boost::shared_ptr<U> p = s->GetThisPointer<U>();
+       {                       
+//EED 2018-07-11 minwg64 
+         boost::shared_ptr<U> p = s->template GetThisPointer<U>();
          if (!lock) s->mThisPointerLocked.reset();
          return p;
        }