[mathicgb] 124/393: Fixes to make the code compile on GCC 4.6.3.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Apr 3 15:58:46 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 6958945ba5544ac1cf11470033dc1b860129ce14
Author: Sharwan Kumar Tiwari <stiwari at mumin.mathematik.uni-kl.de>
Date:   Thu Dec 13 18:35:56 2012 +0100

    Fixes to make the code compile on GCC 4.6.3.
---
 src/mathicgb/LogDomain.hpp    | 2 +-
 src/mathicgb/LogDomainSet.hpp | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mathicgb/LogDomain.hpp b/src/mathicgb/LogDomain.hpp
index a47fd71..dcdcd41 100755
--- a/src/mathicgb/LogDomain.hpp
+++ b/src/mathicgb/LogDomain.hpp
@@ -80,7 +80,7 @@ namespace LogDomainInternal {
 #define MATHICGB_DEFINE_LOG_DOMAIN_WITH_DEFAULTS(NAME, DESCRIPTION, DEFAULT_RUNTIME_ENABLED, DEFAULT_COMPILE_TIME_ENABLED) \
   MATHICGB_CAPTURE_LOG_ENABLED(NAME, DEFAULT_COMPILE_TIME_ENABLED); \
   namespace logs { \
-    typedef LogDomain<::LogDomainInternal::value_##NAME> Type##NAME; \
+    typedef LogDomain< ::LogDomainInternal::value_##NAME> Type##NAME; \
     Type##NAME NAME(#NAME, DESCRIPTION, DEFAULT_RUNTIME_ENABLED); \
   }
 
diff --git a/src/mathicgb/LogDomainSet.hpp b/src/mathicgb/LogDomainSet.hpp
index 20e8665..49fc0bf 100755
--- a/src/mathicgb/LogDomainSet.hpp
+++ b/src/mathicgb/LogDomainSet.hpp
@@ -4,6 +4,7 @@
 #include "LogDomain.hpp"
 #include <vector>
 #include <algorithm>
+#include <cstring>
 
 class LogDomainSet {
 public:

-- 
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