From b86f1fefc9fb173793a1b6d91cceefc28f048faf Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Thu, 22 Dec 2016 15:46:41 +0100 Subject: [PATCH] #3045 BBTK Bug New Normal - Fedora 24 vtkMessageManager << conflict gcc6 --- kernel/src/bbtkInterpreter.cxx | 6 +++++- kernel/src/bbtkMessageManager.h | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/kernel/src/bbtkInterpreter.cxx b/kernel/src/bbtkInterpreter.cxx index e57717e..a31fe0f 100644 --- a/kernel/src/bbtkInterpreter.cxx +++ b/kernel/src/bbtkInterpreter.cxx @@ -1577,7 +1577,11 @@ void Interpreter::commandHelp(const std::vector& 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; diff --git a/kernel/src/bbtkMessageManager.h b/kernel/src/bbtkMessageManager.h index 325067a..51d7da6 100644 --- a/kernel/src/bbtkMessageManager.h +++ b/kernel/src/bbtkMessageManager.h @@ -360,7 +360,7 @@ do \ { \ std::ostringstream s; \ - s << "MESSAGE"; \ + s << MESSAGE; \ std::ostringstream f; \ f << __FILE__ << " (l."<<__LINE__<<")"; \ bbtk::Exception e( BBTK_GET_CURRENT_OBJECT_NAME, \ -- 2.44.0