* mln/io/magick/load.hh,
* mln/io/magick/save.hh: Here.
---
milena/ChangeLog | 7 +++++++
milena/mln/io/magick/load.hh | 4 +++-
milena/mln/io/magick/save.hh | 6 ++++--
3 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index fde9d16..1eedf26 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-15 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ Temporarily disable static tests on Magick::Quantum type size.
+
+ * mln/io/magick/load.hh,
+ * mln/io/magick/save.hh: Here.
+
2010-08-24 Guillaume Lazzara <z(a)lrde.epita.fr>
* mln/value/int_s.hh: Fix warnings.
diff --git a/milena/mln/io/magick/load.hh b/milena/mln/io/magick/load.hh
index f961ccb..7004a80 100644
--- a/milena/mln/io/magick/load.hh
+++ b/milena/mln/io/magick/load.hh
@@ -35,6 +35,8 @@
/// <em>before</em> using any of these functions, as advised by the
/// GraphicsMagick documentation
/// (
http://www.graphicsmagick.org/Magick++/Image.html).
+///
+/// \fixme: re-enable quantum size check
# include <cstdlib>
@@ -141,7 +143,7 @@ namespace mln
trace::entering("mln::io::magick::load");
// Ensure a Magick++'s Quantum is an 8-bit value.
- mln::metal::equal<Magick::Quantum, unsigned char>::check();
+ //mln::metal::equal<Magick::Quantum, unsigned char>::check();
I& ima = exact(ima_);
diff --git a/milena/mln/io/magick/save.hh b/milena/mln/io/magick/save.hh
index aa02ddf..2c87c88 100644
--- a/milena/mln/io/magick/save.hh
+++ b/milena/mln/io/magick/save.hh
@@ -35,6 +35,8 @@
/// <em>before</em> using any of these functions, as advised by the
/// GraphicsMagick documentation
/// (
http://www.graphicsmagick.org/Magick++/Image.html).
+///
+/// \fixme: re-enable quantum size check
# include <cstdlib>
@@ -94,7 +96,7 @@ namespace mln
Magick::Color get_color(const value::int_u8& value)
{
// Ensure a Magick++'s Quantum is an 8-bit value.
- mln::metal::equal<Magick::Quantum, unsigned char>::check();
+ //mln::metal::equal<Magick::Quantum, unsigned char>::check();
return Magick::Color(value, value, value);
}
@@ -102,7 +104,7 @@ namespace mln
Magick::Color get_color(const value::rgb8& value)
{
// Ensure a Magick++'s Quantum is an 8-bit value.
- mln::metal::equal<Magick::Quantum, unsigned char>::check();
+ //mln::metal::equal<Magick::Quantum, unsigned char>::check();
return Magick::Color(value.red(), value.green(), value.blue());
}
--
1.5.6.5