last-svn-commit-477-g53a57b1 Fix compilation with g++-3.3 in Milena.

* mln/value/qt/rgb32.hh: Here. (name()): Change the returned string value. --- milena/ChangeLog | 7 +++++++ milena/mln/value/qt/rgb32.hh | 3 ++- 2 files changed, 9 insertions(+), 1 deletions(-) diff --git a/milena/ChangeLog b/milena/ChangeLog index cc20d9e..7cbebec 100644 --- a/milena/ChangeLog +++ b/milena/ChangeLog @@ -1,3 +1,10 @@ +2010-08-13 Guillaume Lazzara <z@lrde.epita.fr> + + Fix compilation with g++-3.3. + + * mln/value/qt/rgb32.hh: Here. + (name()): Change the returned string value. + 2010-08-12 Guillaume Lazzara <z@lrde.epita.fr> * tests/unit_test/Makefile.am (DIST_FILES): Add missing files. diff --git a/milena/mln/value/qt/rgb32.hh b/milena/mln/value/qt/rgb32.hh index 2595bf8..e35c667 100644 --- a/milena/mln/value/qt/rgb32.hh +++ b/milena/mln/value/qt/rgb32.hh @@ -26,6 +26,7 @@ #ifndef MLN_VALUE_QT_RGB32_HH # define MLN_VALUE_QT_RGB32_HH +# include <cstring> # include <mln/value/ops.hh> @@ -174,7 +175,7 @@ namespace mln static const char* name() { - static std::string s = std::string("rgb32").append(1, 8 + '0'); + static std::string s = "qt_rgb32"; return s.c_str(); } -- 1.5.6.5
participants (1)
-
Guillaume Lazzara