diff --git a/vcg/complex/trimesh/attribute_seam.h b/vcg/complex/trimesh/attribute_seam.h index d3cc989d..ff856423 100644 --- a/vcg/complex/trimesh/attribute_seam.h +++ b/vcg/complex/trimesh/attribute_seam.h @@ -160,7 +160,9 @@ class AttributeSeam typedef typename dst_trimesh_t::FaceIterator dst_face_i; typedef vcg::tri::Allocator dst_mesh_allocator_t; - typedef dst_mesh_allocator_t::PointerUpdater dst_pointer_updater_t; + + /* GCC gets in troubles and need some hints ("template") to parse the following line */ + typedef typename dst_mesh_allocator_t :: template PointerUpdater dst_pointer_updater_t; if (reinterpret_cast(&src) == reinterpret_cast(&dst)) {