It may be a bug in a compiler. There were some in g++. Which version
are you using?

Jan


On Mon, 10 Nov 2014 15:59:03 +0000
"Milby, Jonathan S" <[email protected]> wrote:

> Hi all,
> 
> I'm having trouble getting the FEniCS suite to compile from CentOS
> 6.5 (on a Rocks 6.1.1 cluster) using dorsal.sh.  I am using the
> rhel6.platform file as the basis for my config, with
> STABLE_BUILD=false and boost added to the PACKAGES list.
> 
> Everything looks OK until it tries to build dolfin, at which point
> this happens:
> 
> [  5%] Building CXX object
> dolfin/CMakeFiles/dolfin.dir/ale/HarmonicSmoothing.cpp.o In file
> included
> from 
> /home/jsmilb0/Work/FEniCS/src/dolfin/dolfin/ale/HarmonicSmoothing.cpp:22: 
> /home/jsmilb0/Work/FEniCS/src/dolfin/dolfin/parameter/GlobalParameters.h:
> In static member function 'static dolfin::Parameters
> dolfin::GlobalParameters::default_parameters()': 
> /home/jsmilb0/Work/FEniCS/src/dolfin/dolfin/parameter/GlobalParameters.h:84:
> error: no matching function for call to
> 'dolfin::Parameters::add(const char [21], std::string&,
> <brace-enclosed initializer list>)'
> 
> It throws 5 of those errors for GlobalParameters.h with a couple of
> variations on parameters to that function (other variation is const
> char*, const char*, <brace-enclosed initializer list>).
> 
> Any idea how to resolve this?  
> 
> Many thanks in advance,
> Jon
> _______________________________________________
> fenics mailing list
> [email protected]
> http://fenicsproject.org/mailman/listinfo/fenics

_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to