Sneaky C++11 syntax broke fenicstools

Issue #227 invalid
Mikael Mortensen created an issue

Just wanted to report that my interpolation code in fenicstools now is broken with the instant compile log extract:

In file included from ../../../home/mikael/Fenics/bitbucket/dolfin/local.master/include/dolfin/la/dolfin_la.h:68:0,
                 from ../../../home/mikael/Fenics/bitbucket/dolfin/local.master/include/dolfin.h:21,
                 from /tmp/tmpGuIuVr2014-2-3-10-57_instant_5fd20f7ca375da69edb4a2257f4f3c20074b380c/dolfin_compile_code_a66d49d2f0182e938c8c70980a922686/dolfin_compile_code_a66d49d2f0182e938c8c70980a922686PYTHON_wrap.cxx:3190:
../../../home/mikael/Fenics/bitbucket/dolfin/local.master/include/dolfin/la/LinearSolver.h:104:5: error: unique_ptr in namespace std does not name a type
     std::unique_ptr<GenericLinearSolver> solver;
     ^
../../../home/mikael/Fenics/bitbucket/dolfin/local.master/include/dolfin/la/LinearSolver.h: In member function virtual void dolfin::LinearSolver::update_parameters(const dolfin::Parameters&):
../../../home/mikael/Fenics/bitbucket/dolfin/local.master/include/dolfin/la/LinearSolver.h:87:7: error: solver was not declared in this scope
       solver->update_parameters(parameters);
       ^

I report it here since the error originates from apparently experimental code in dolfin. Is there an obvious easy fix or should I get back with more details?

Comments (3)

  1. Mikael Mortensen reporter

    SWIG Version 2.0.10

    Compiled with g++ [x86_64-unknown-linux-gnu]

    Configured options: +pcre

  2. Log in to comment