From 964607da17055748464e4fdacd807d7e60a9c322 Mon Sep 17 00:00:00 2001 From: jpr Date: Tue, 1 Feb 2005 11:13:08 +0000 Subject: [PATCH] SetDebugOn --- Example/PrintFile.cxx | 5 +++-- Example/TestFromScratch.cxx | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Example/PrintFile.cxx b/Example/PrintFile.cxx index 45b1f89c..bb9789ab 100644 --- a/Example/PrintFile.cxx +++ b/Example/PrintFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: PrintFile.cxx,v $ Language: C++ - Date: $Date: 2005/02/01 10:34:59 $ - Version: $Revision: 1.27 $ + Date: $Date: 2005/02/01 11:13:08 $ + Version: $Revision: 1.28 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -42,6 +42,7 @@ int main(int argc, char* argv[]) fileName += "/test.acr"; } + if (argc > 3) gdcm::Debug::DebugOn(); diff --git a/Example/TestFromScratch.cxx b/Example/TestFromScratch.cxx index 7f23231c..0c8f32fd 100644 --- a/Example/TestFromScratch.cxx +++ b/Example/TestFromScratch.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestFromScratch.cxx,v $ Language: C++ - Date: $Date: 2005/02/01 10:34:59 $ - Version: $Revision: 1.15 $ + Date: $Date: 2005/02/01 11:13:08 $ + Version: $Revision: 1.16 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -35,7 +35,8 @@ int main(int argc, char *argv[]) return 1; } - // Doesn't seems to do anything: + + // Doesn't seem to do anything: gdcm::Debug::DebugOn(); // Doesn't link properly: -- 2.48.1