--- trunk/src/applications/openmd/openmd.cpp 2014/02/26 14:14:50 1969 +++ trunk/src/applications/openmd/openmd.cpp 2014/04/15 21:26:45 1985 @@ -50,6 +50,7 @@ #include #include "utils/simError.h" #include "utils/CaseConversion.hpp" +#include "utils/Revision.hpp" #include "brains/Register.hpp" #include "brains/SimCreator.hpp" #include "brains/SimInfo.hpp" @@ -78,9 +79,9 @@ int main(int argc, char* argv[]){ initSimError(); // the error handler //srand48( 1337 ); // the random number generator. - std::string svnrev; + std::string svnrev(g_REVISION, strnlen(g_REVISION, 20)); //convert a macro from compiler to a string in c++ - STR_DEFINE(svnrev, SVN_REV ); + //STR_DEFINE(svnrev, SVN_REV ); std::string revision; @@ -99,7 +100,7 @@ int main(int argc, char* argv[]){ " | / __ \\____ ___ ____ / |/ // __ \\ The Open Molecular Dynamics |\n"<< " | / / / / __ \\/ _ \\/ __ \\ / /|_/ // / / / Engine (formerly OOPSE). |\n"<< " | / /_/ / /_/ / __/ / / // / / // /_/ / |\n"<< - " | \\____/ .___/\\___/_/ /_//_/ /_//_____/ Copyright 2004-2013 by the |\n"<< + " | \\____/ .___/\\___/_/ /_//_/ /_//_____/ Copyright 2004-2014 by the |\n"<< " | /_/ University of Notre Dame. |\n"<< " | |\n"<< " | version " <<