[mathicgb] 99/393: Now not forcing inlining in debug builds.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Apr 3 15:58:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch upstream
in repository mathicgb.

commit 6fda319a315336c68499e0e265974e924be3d190
Author: Bjarke Hammersholt Roune <bjarkehr.code at gmail.com>
Date:   Mon Nov 5 21:36:19 2012 +0100

    Now not forcing inlining in debug builds.
---
 src/mathicgb/Atomic.hpp | 3 +++
 src/mathicgb/stdinc.h   | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/src/mathicgb/Atomic.hpp b/src/mathicgb/Atomic.hpp
index c19a041..7416b0e 100755
--- a/src/mathicgb/Atomic.hpp
+++ b/src/mathicgb/Atomic.hpp
@@ -15,6 +15,9 @@ namespace AtomicInternal {
   };
 }
 
+#undef MATHICGB_USE_CUSTOM_ATOMIC_X86_X64_MSVC_4BYTE
+#undef MATHICGB_USE_CUSTOM_ATOMIC_X86_X64_MSVC_8BYTE
+
 #if defined(MATHICGB_USE_CUSTOM_ATOMIC_X86_X64_MSVC_4BYTE) || \
   defined(MATHICGB_USE_CUSTOM_ATOMIC_X86_X64_MSVC_8BYTE)
 #include <Windows.h>
diff --git a/src/mathicgb/stdinc.h b/src/mathicgb/stdinc.h
index b91cada..220dea6 100755
--- a/src/mathicgb/stdinc.h
+++ b/src/mathicgb/stdinc.h
@@ -100,6 +100,10 @@
 #include <memory>
 
 #ifdef MATHICGB_DEBUG
+// don't force inline while debugging
+#undef MATHICGB_INLINE
+#define MATHICGB_INLINE inline
+
 // we have to define DEBUG as lots of code assumes that asserts are turned
 // on/off depending on DEBUG. Those should change to checking
 // MATHICGB_DEBUG and then we can remove this define.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mathicgb.git



More information about the debian-science-commits mailing list