last-svn-commit-986-gbb65e64 mln/value/builtin/carrays.hh: Fix a compilation error with Apple's clang 2.1.

--- milena/ChangeLog | 5 +++++ milena/mln/value/builtin/carrays.hh | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index 1236ea1..02b9e65 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,5 +1,10 @@ 2011-09-12 Guillaume Lazzara <z@lrde.epita.fr> + * mln/value/builtin/carrays.hh: Fix a compilation error with + Apple's clang 2.1. + +2011-09-12 Guillaume Lazzara <z@lrde.epita.fr> + Workaround for Apple's llvm-gcc 4.2.1 on Mac OS Lion 10.7.1 * mln/core/concept/function.hh: Add operator=() in Function diff --git a/milena/mln/value/builtin/carrays.hh b/milena/mln/value/builtin/carrays.hh index a245683..3ad2721 100644 --- a/milena/mln/value/builtin/carrays.hh +++ b/milena/mln/value/builtin/carrays.hh @@ -1,4 +1,5 @@ -// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE) +// Copyright (C) 2009, 2011 EPITA Research and Development Laboratory +// (LRDE) // // This file is part of Olena. // @@ -69,7 +70,7 @@ namespace mln { std::ostringstream s; s << value_<T>::name() << '[' << n << ']'; - return s.str(); + return s.str().c_str(); } }; -- 1.7.2.5
participants (1)
-
Guillaume Lazzara