From a35190e873f89a6fab67b6e52ad2d9c470aaa706 Mon Sep 17 00:00:00 2001
From: Emmanuel Christophe <emmanuel.christophe@orfeo-toolbox.org>
Date: Fri, 18 Sep 2009 09:52:18 +0800
Subject: [PATCH] TEST: more informative otbMsgDevMacro

---
 Code/Common/otbMacro.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Code/Common/otbMacro.h b/Code/Common/otbMacro.h
index 8c14ed0b79..db21737629 100644
--- a/Code/Common/otbMacro.h
+++ b/Code/Common/otbMacro.h
@@ -95,7 +95,7 @@ namespace otb
 #ifdef OTB_SHOW_ALL_MSG_DEBUG
 #define otbMsgDevMacro(x) \
     { { ::itk::OStringStream itkmsg; \
-      itkmsg << " Msg Dev: " x << "\n"; \
+      itkmsg << " Msg Dev: (" << __FILE__ << ":" << __LINE__ << ") " x << "\n"; \
       ::itk::OutputWindowDisplayDebugText(itkmsg.str().c_str());} \
      }
 #else
-- 
GitLab