Bug#679400: [deal.ii] FTBFS: call of overloaded constructor is ambiguous
Felix Gruber
felgru at gmx.de
Thu Jun 28 12:26:23 UTC 2012
Source: deal.ii
Version: 7.1.0-1
Severity: serious
Justification: FTBFS
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7
thanks
the deal.ii package builds fine with gcc-4.6/g++-4.6, but when building
with gcc-4.7/g++-4.7, I get the following error messages:
======================optimized==MT== fe/fe_values.cc
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc: In instantiation of
'void dealii::FEValuesBase<dim,
spacedim>::maybe_invalidate_previous_present_cell(const typename
dealii::Triangulation<dim, spacedim>::cell_iterator&) [with int dim = 1;
int spacedim = 1; typename dealii::Triangulation<dim,
spacedim>::cell_iterator = dealii::TriaIterator<dealii::CellAccessor<1,
1> >]':
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.inst:2:17: required from
here
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:3265:5: error: call of
overloaded 'TriaIterator(std::auto_ptr<const
dealii::FEValuesBase<1>::CellIteratorBase>::element_type&)' is ambiguous
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:3265:5: note:
candidates are:
In file included from
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.h:1322:0,
from /tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:23:
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.templates.h:172:1:
note: dealii::TriaIterator< <template-parameter-1-1>
>::TriaIterator(const dealii::TriaRawIterator<Accessor>&) [with Accessor
= dealii::CellAccessor<1, 1>]
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.templates.h:165:1:
note: dealii::TriaIterator< <template-parameter-1-1>
>::TriaIterator(const dealii::TriaIterator< <template-parameter-1-1> >&)
[with Accessor = dealii::CellAccessor<1, 1>]
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc: In instantiation of
'void dealii::FEValuesBase<dim,
spacedim>::maybe_invalidate_previous_present_cell(const typename
dealii::Triangulation<dim, spacedim>::cell_iterator&) [with int dim = 1;
int spacedim = 2; typename dealii::Triangulation<dim,
spacedim>::cell_iterator = dealii::TriaIterator<dealii::CellAccessor<1,
2> >]':
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.inst:15:17: required
from here
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:3265:5: error: call of
overloaded 'TriaIterator(std::auto_ptr<const dealii::FEValuesBase<1,
2>::CellIteratorBase>::element_type&)' is ambiguous
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:3265:5: note:
candidates are:
In file included from
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.h:1322:0,
from /tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:23:
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.templates.h:172:1:
note: dealii::TriaIterator< <template-parameter-1-1>
>::TriaIterator(const dealii::TriaRawIterator<Accessor>&) [with Accessor
= dealii::CellAccessor<1, 2>]
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.templates.h:165:1:
note: dealii::TriaIterator< <template-parameter-1-1>
>::TriaIterator(const dealii::TriaIterator< <template-parameter-1-1> >&)
[with Accessor = dealii::CellAccessor<1, 2>]
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc: In instantiation of
'void dealii::FEValuesBase<dim,
spacedim>::maybe_invalidate_previous_present_cell(const typename
dealii::Triangulation<dim, spacedim>::cell_iterator&) [with int dim = 2;
int spacedim = 2; typename dealii::Triangulation<dim,
spacedim>::cell_iterator = dealii::TriaIterator<dealii::CellAccessor<2,
2> >]':
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.inst:42:17: required
from here
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:3265:5: error: call of
overloaded 'TriaIterator(std::auto_ptr<const
dealii::FEValuesBase<2>::CellIteratorBase>::element_type&)' is ambiguous
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:3265:5: note:
candidates are:
In file included from
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.h:1322:0,
from /tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:23:
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.templates.h:172:1:
note: dealii::TriaIterator< <template-parameter-1-1>
>::TriaIterator(const dealii::TriaRawIterator<Accessor>&) [with Accessor
= dealii::CellAccessor<2, 2>]
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.templates.h:165:1:
note: dealii::TriaIterator< <template-parameter-1-1>
>::TriaIterator(const dealii::TriaIterator< <template-parameter-1-1> >&)
[with Accessor = dealii::CellAccessor<2, 2>]
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc: In instantiation of
'void dealii::FEValuesBase<dim,
spacedim>::maybe_invalidate_previous_present_cell(const typename
dealii::Triangulation<dim, spacedim>::cell_iterator&) [with int dim = 2;
int spacedim = 3; typename dealii::Triangulation<dim,
spacedim>::cell_iterator = dealii::TriaIterator<dealii::CellAccessor<2,
3> >]':
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.inst:55:17: required
from here
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:3265:5: error: call of
overloaded 'TriaIterator(std::auto_ptr<const dealii::FEValuesBase<2,
3>::CellIteratorBase>::element_type&)' is ambiguous
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:3265:5: note:
candidates are:
In file included from
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.h:1322:0,
from /tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:23:
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.templates.h:172:1:
note: dealii::TriaIterator< <template-parameter-1-1>
>::TriaIterator(const dealii::TriaRawIterator<Accessor>&) [with Accessor
= dealii::CellAccessor<2, 3>]
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.templates.h:165:1:
note: dealii::TriaIterator< <template-parameter-1-1>
>::TriaIterator(const dealii::TriaIterator< <template-parameter-1-1> >&)
[with Accessor = dealii::CellAccessor<2, 3>]
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc: In instantiation of
'void dealii::FEValuesBase<dim,
spacedim>::maybe_invalidate_previous_present_cell(const typename
dealii::Triangulation<dim, spacedim>::cell_iterator&) [with int dim = 3;
int spacedim = 3; typename dealii::Triangulation<dim,
spacedim>::cell_iterator = dealii::TriaIterator<dealii::CellAccessor<3,
3> >]':
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.inst:82:17: required
from here
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:3265:5: error: call of
overloaded 'TriaIterator(std::auto_ptr<const
dealii::FEValuesBase<3>::CellIteratorBase>::element_type&)' is ambiguous
/tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:3265:5: note:
candidates are:
In file included from
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.h:1322:0,
from /tmp/buildd/deal.ii-7.1.0/source/fe/fe_values.cc:23:
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.templates.h:172:1:
note: dealii::TriaIterator< <template-parameter-1-1>
>::TriaIterator(const dealii::TriaRawIterator<Accessor>&) [with Accessor
= dealii::CellAccessor<3, 3>]
/tmp/buildd/deal.ii-7.1.0/include/deal.II/grid/tria_iterator.templates.h:165:1:
note: dealii::TriaIterator< <template-parameter-1-1>
>::TriaIterator(const dealii::TriaIterator< <template-parameter-1-1> >&)
[with Accessor = dealii::CellAccessor<3, 3>]
make[2]: *** [/tmp/buildd/deal.ii-7.1.0/lib/optimized/fe_fe_values.o]
Error 1
make[2]: Leaving directory `/tmp/buildd/deal.ii-7.1.0/source'
make[1]: *** [optimized] Error 2
make[1]: Leaving directory `/tmp/buildd/deal.ii-7.1.0'
make: *** [stamp-build-arch] Error 2
More information about the debian-science-maintainers
mailing list