]> Creatis software - bbtk.git/commitdiff
#3045 BBTK Bug New Normal - Fedora 24 vtkMessageManager << conflict gcc6
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 22 Dec 2016 14:46:41 +0000 (15:46 +0100)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 22 Dec 2016 14:46:41 +0000 (15:46 +0100)
kernel/src/bbtkInterpreter.cxx
kernel/src/bbtkMessageManager.h

index e57717e08a78c3297dd7d34992603ee6cb47ae38..a31fe0f20ceb0b589eae32be38e01864d09a1e5f 100644 (file)
@@ -1577,7 +1577,11 @@ void Interpreter::commandHelp(const std::vector<std::string>& words)
     CommandDictType::iterator c;
     c = mCommandDict.find(s);
     if ( c == mCommandDict.end() ) {
-      bbtkError(s<<" : Unknown command");
+
+//EED 2016-12-22
+//      bbtkError(s<<" : Unknown command");
+     std::string tmpSS=s+" : Unknown command";
+      bbtkError(tmpSS);
     }  
     //    std::cout << " " << s << " : "<<  std::endl;
     //    CommandParamDictType::iterator i;
index 325067a518ac439940c40441e240ead0d92f2137..51d7da68c13c1fc0ae5198bcd2c6407b1e136586 100644 (file)
   do                                                   \
     {                                                  \
       std::ostringstream s;                            \
-      s << "MESSAGE";                                  \
+      s << MESSAGE;                                    \
       std::ostringstream f;                            \
       f << __FILE__ << " (l."<<__LINE__<<")";          \
       bbtk::Exception e( BBTK_GET_CURRENT_OBJECT_NAME, \