From: Eduardo DAVILA Date: Thu, 12 Jul 2018 08:19:41 +0000 (+0200) Subject: #3203 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=9c6b34ade419c6f122fedac19563dca4c2407bc2;p=bbtk.git #3203 --- diff --git a/kernel/src/CMakeLists.txt b/kernel/src/CMakeLists.txt index 44e3b2c..70e2ba8 100644 --- a/kernel/src/CMakeLists.txt +++ b/kernel/src/CMakeLists.txt @@ -1,4 +1,4 @@ - # --------------------------------------------------------------------- + # --------------------------------------------------------------------- # # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image # pour la SantÈ) @@ -92,10 +92,12 @@ IF(UNIX) #Avoid polluting Win32 cmakecache 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) #----------------------------------------------------------------------------- diff --git a/kernel/src/bbtkAtomicBlackBox.cxx b/kernel/src/bbtkAtomicBlackBox.cxx index 0c304e0..2c9b0c5 100644 --- a/kernel/src/bbtkAtomicBlackBox.cxx +++ b/kernel/src/bbtkAtomicBlackBox.cxx @@ -103,7 +103,7 @@ namespace bbtk /// Gets the input Data of a given name Data AtomicBlackBox::bbGetInput( const std::string &name ) { - bbtkBlackBoxDebugMessage("data",7, + bbtkBlackBoxDebugMessage("data",7, "AtomicBlackBox::bbGetInput(\""< // Signal/slot mechanism for output change events -#include #include +#include #define bbtkBlackBoxMessage(key,level,mess) \ @@ -67,7 +67,6 @@ namespace bbtk { - struct Void { Void(int = 0) {} }; class Factory; diff --git a/kernel/src/bbtkObject.h b/kernel/src/bbtkObject.h index 811c0b6..a172adb 100644 --- a/kernel/src/bbtkObject.h +++ b/kernel/src/bbtkObject.h @@ -105,7 +105,8 @@ namespace bbtk { if (s->mThisPointer.lock()) { - boost::shared_ptr p = s->GetThisPointer(); +//EED 2018-07-11 minwg64 + boost::shared_ptr p = s->template GetThisPointer(); if (!lock) s->mThisPointerLocked.reset(); return p; } @@ -124,8 +125,9 @@ namespace bbtk bool lock = false) { if (s->mThisPointer.lock()) - { - boost::shared_ptr p = s->GetThisPointer(); + { +//EED 2018-07-11 minwg64 + boost::shared_ptr p = s->template GetThisPointer(); if (!lock) s->mThisPointerLocked.reset(); return p; }