Opened 7 years ago
#11404 new Bugs
boost/numeric/ublas/experimental/sparse_view.hpp fails to compile if -DNDEBUG is used
Reported by: | Owned by: | Gunter | |
---|---|---|---|
Milestone: | To Be Determined | Component: | uBLAS |
Version: | Boost 1.56.0 | Severity: | Problem |
Keywords: | Cc: |
Description
If -DNDEBUG is specified on the command line the header file boost/numeric/ublas/experimental/sparse_view.hpp will not compile.
This can also be seen by trying to build/run the test sparse_view_test.tes with "B2 release"
Here's a quick cut/paste:
$ cat t.cpp #include <boost/numeric/ublas/experimental/sparse_view.hpp>
vogeled@nimloth ~ $ g++ -Iboost/boost_1_56_0 -c -DNDEBUG t.cpp In file included from t.cpp:1: boost/boost_1_56_0/boost/numeric/ublas/experimental/sparse_view.hpp:29: error: e xpected template-name before '<' token boost/boost_1_56_0/boost/numeric/ublas/experimental/sparse_view.hpp:29: error: e xpected `{' before '<' token boost/boost_1_56_0/boost/numeric/ublas/experimental/sparse_view.hpp:29: error: e xpected unqualified-id before '<' token boost/boost_1_56_0/boost/numeric/ublas/experimental/sparse_view.hpp:29: error: e xpected `;' before '<' token