Subject: [Boost-bugs] [Boost C++ Libraries] #11404: boost/numeric/ublas/experimental/sparse_view.hpp fails to compile if -DNDEBUG is used
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-06-17 15:27:04
#11404: boost/numeric/ublas/experimental/sparse_view.hpp fails to compile if
-DNDEBUG is used
---------------------------------------+---------------------
Reporter: Ed Vogel <edward.vogel@â¦> | Owner: guwi17
Type: Bugs | Status: new
Milestone: To Be Determined | Component: uBLAS
Version: Boost 1.56.0 | Severity: Problem
Keywords: |
---------------------------------------+---------------------
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_at_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
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11404> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC