Bug#356620: [Pkg-octave-devel] Bug#356620: FTBFS with G++ 4.1: error: unknown escape sequence '\s'
* Martin Michlmayr <tbm@cyrius.com> [2006-03-12 23:56]:
> | vtkCurvatures.cc: In function ???bool FSvtkCurvatures_gnu_v3(const octave_shlib&)???:
> | vtkCurvatures.cc:10: error: unknown escape sequence '\s'
>
> The following patch helps, but the strange thing is that I cannot find
> this file in the tar ball. It must be created during build but I've
> no idea how. I guess you understand the build system of this package
> better and know what to do. Anyway, G++ 4.1 is in experimental.
> Maybe you can try yourself what needs to be done to make it compile.
>
>
> --- ./Graphics/vtkCurvatures.cc~ 2006-03-12 19:39:50.000000000 +0000
> +++ ./Graphics/vtkCurvatures.cc 2006-03-12 20:48:32.000000000 +0000
> @@ -16,7 +16,7 @@
> \n\
> Gauss Curvature\n\
> discrete Gauss curvature (K) computation,\n\
> -K(vertex v) = 2*PI-\sum_@{facet neighbs f of v@} (angle_f at v)\n\
> +K(vertex v) = 2*PI-sum_@{facet neighbs f of v@} (angle_f at v)\n\
> The contribution of every facet is for the moment weighted by Area(facet)/3\n\
> The units of Gaussian Curvature are [1/m^2]\n\
> \n\
The text above with the "\sum" TeX macro comes from file
/usr/include/vtk/vtkCurvatures.h, which belongs to package libvtk4-dev.
Octaviz translates the documentation in the *.h into texinfo strings in
the *.cc files. I will try to change Wrapping/vtkWrapOctave.c, which is
where this translation takes place.
--
Rafael
Reply to: