From 0ba821d184929285f008369b811cbb0748a09b5d Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Mon, 7 Mar 2011 12:54:28 +0000 Subject: [PATCH] ENH: codeStream: added message if loading library --- .../db/dictionary/functionEntries/codeStream/codeStream.C | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/OpenFOAM/db/dictionary/functionEntries/codeStream/codeStream.C b/src/OpenFOAM/db/dictionary/functionEntries/codeStream/codeStream.C index d24f4db67ce..f6c697ca285 100644 --- a/src/OpenFOAM/db/dictionary/functionEntries/codeStream/codeStream.C +++ b/src/OpenFOAM/db/dictionary/functionEntries/codeStream/codeStream.C @@ -98,6 +98,13 @@ bool Foam::functionEntries::codeStream::execute // see if library is loaded void* lib = dlLibraryTable::findLibrary(libPath); + + if (!lib) + { + Info<< "Using #codeStream with " << libPath << endl; + } + + // nothing loaded // avoid compilation if possible by loading an existing library if (!lib && dlLibraryTable::open(libPath, false)) -- GitLab