4264: mln/geom/rotate.hh: Avoid an ICE with gcc 4.0.1 on MacOs X (leopard 10.5).

9 Jul
2009
9 Jul
'09
4:10 p.m.
--- milena/mln/geom/rotate.hh | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/milena/mln/geom/rotate.hh b/milena/mln/geom/rotate.hh index 8c0e3ca..f53359b 100644 --- a/milena/mln/geom/rotate.hh +++ b/milena/mln/geom/rotate.hh @@ -165,7 +165,10 @@ namespace mln mln_concrete(I) rotate(const Image<I>& input, double angle, const Ext& extension) { - return rotate(input, angle, extension, mln_box(I)()); + /// Old versions of GCC do not parse correctly `mln_box(I)()'. + /// Hence, we need to typedef mln_box(I) first. + typedef mln_box(I) box_t; + return rotate(input, angle, extension, box_t()); } -- 1.5.6.5
5916
Age (days ago)
5916
Last active (days ago)
0 comments
1 participants
participants (1)
-
Guillaume Lazzara