getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] (no subject)


From: Yves Renard
Subject: [Getfem-commits] (no subject)
Date: Fri, 14 Jul 2017 01:37:42 -0400 (EDT)

branch: master
commit 241a17f29a8a06a385d355e435b7ace31269832c
Author: rpplx <address@hidden>
Date:   Wed Jul 12 21:50:52 2017 +0200

    Specializing GMM_PRETTY_FUNCTION for the case of compiling with Visual 
Studio.
---
 src/gmm/gmm_except.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/gmm/gmm_except.h b/src/gmm/gmm_except.h
index 4dd87f6..0bdd848 100644
--- a/src/gmm/gmm_except.h
+++ b/src/gmm/gmm_except.h
@@ -63,7 +63,9 @@ namespace gmm {
 
 #ifdef GETFEM_HAVE_PRETTY_FUNCTION
 #  define GMM_PRETTY_FUNCTION __PRETTY_FUNCTION__
-#else
+#elif _MSC_VER
+#  define GMM_PRETTY_FUNCTION __FUNCTION__
+#else 
 #  define GMM_PRETTY_FUNCTION ""
 #endif
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]