Package: libgmm++-dev
Version: 4.1.1-9
Severity: normal
Dear Maintainer,
g++-4.7 introduces user defined literals in c++11-mode. That breaks libgmm++.
I've attached a patch to fix this problem.
Kind regards,
Philipp
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-- no debconf information
--- gmm_except.h.orig 2012-04-20 17:19:39.000000000 +0200
+++ /usr/include/gmm/gmm_except.h 2012-04-20 17:21:41.146109947 +0200
@@ -76,7 +76,7 @@
}
# define GMM_THROW_(type, errormsg) { \
std::stringstream msg; \
- msg << "Error in "__FILE__ << ", line " \
+ msg << "Error in " << __FILE__ << ", line " \
<< __LINE__ << " " << GMM_PRETTY_FUNCTION << ": \n" \
<< errormsg << ends; \
throw (type)(msg.str()); \
@@ -91,7 +91,7 @@
}
# define GMM_THROW_(type, errormsg) { \
std::stringstream msg; \
- msg << "Error in "__FILE__ << ", line " \
+ msg << "Error in " << __FILE__ << ", line " \
<< __LINE__ << " " << GMM_PRETTY_FUNCTION << ": \n" \
<< errormsg << ends; \
::abort(); \
@@ -148,7 +148,7 @@
#define GMM_WARNING_MSG(level_, thestr) { \
std::stringstream msg; \
- msg << "Level " << level_ << " Warning in "__FILE__ << ", line " \
+ msg << "Level " << level_ << " Warning in " << __FILE__ << ", line " \
<< __LINE__ << ": " << thestr << ends; \
std::cerr << msg.str() << std::endl; \
}
@@ -210,7 +210,7 @@
#define GMM_TRACE_MSG(level_, thestr) { \
GMM_TRACE_MSG_MPI { \
std::stringstream msg; \
- msg << "Trace " << level_ << " in "__FILE__ << ", line " \
+ msg << "Trace " << level_ << " in " << __FILE__ << ", line " \
<< __LINE__ << ": " << thestr \
<< ends; \
std::cout << msg.str() << std::endl; \