← Back to team overview

dolfin team mailing list archive

Re: Broken dolfin

 

I just removed some debug code that probably caused the problem.

Garth

Ilmar Wilbers wrote:
Now dolfin won't compile on any of the buildbots, getting this error:

demo/pde/poisson/cpp/main.cpp: In function ‘int main()’:
demo/pde/poisson/cpp/main.cpp:94: error: ambiguous overload for ‘operator<<’ in ‘dolfin::cout << xx.boost::numeric::ublas::vector<T, A>::size [with T = double, A = boost::numeric::ublas::unbounded_array<double, std::allocator<double> >]()’
./dolfin/log/LogStream.h:27: note: candidates are: dolfin::LogStream& dolfin::LogStream::operator<<(const char*) <near match>
./dolfin/log/LogStream.h:28: note:                 dolfin::LogStream& dolfin::LogStream::operator<<(const std::string&) <near match>
./dolfin/log/LogStream.h:29: note:                 dolfin::LogStream& dolfin::LogStream::operator<<(int)
./dolfin/log/LogStream.h:30: note:                 dolfin::LogStream& dolfin::LogStream::operator<<(unsigned int)
./dolfin/log/LogStream.h:31: note:                 dolfin::LogStream& dolfin::LogStream::operator<<(dolfin::real)
./dolfin/log/LogStream.h:32: note:                 dolfin::LogStream& dolfin::LogStream::operator<<(dolfin::complex)
./dolfin/log/LogStream.h:33: note:                 dolfin::LogStream& dolfin::LogStream::operator<<(const dolfin::LogStream&) <near match>
./dolfin/math/Lagrange.h:80: note:                 dolfin::LogStream& dolfin::operator<<(dolfin::LogStream&, const dolfin::Lagrange&)
./dolfin/mesh/Point.h:95: note:                 dolfin::LogStream& dolfin::operator<<(dolfin::LogStream&, const dolfin::Point&)
./dolfin/la/uBlasVector.h:185: note:                 dolfin::LogStream& dolfin::operator<<(dolfin::LogStream&, const dolfin::uBlasVector&)
./dolfin/parameter/Parameter.h:104: note:                 dolfin::LogStream& dolfin::operator<<(dolfin::LogStream&, const dolfin::Parameter&)
scons: *** [demo/pde/poisson/cpp/main.o] Error 1


See also http://fenics.org:8010/dolfin/linux_64/builds/90/step-compile/0

ilmar
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev




Follow ups

References