Package: exactimage / 1.0.2-1

Disable-dead-code-that-is-causing-compilation-errors.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
From: Jakub Wilk <jwilk@debian.org>
Date: Sun, 30 May 2010 11:36:08 +0200
Subject: Disable dead code that is causing compilation errors.

Bug-Debian: https://bugs.debian.org/583281
Last-Update: 2011-02-02
---
 image/ImageIterator2.hh | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/image/ImageIterator2.hh b/image/ImageIterator2.hh
index 05efa6e..71134b6 100644
--- a/image/ImageIterator2.hh
+++ b/image/ImageIterator2.hh
@@ -51,12 +51,14 @@ public:
       return a;
     }
 
+#if 0
     accu& abs() {
       v[0] = std::abs(v[0]);
       v[1] = std::abs(v[1]);
       v[2] = std::abs(v[2]);
       return *this;
     }
+#endif
     
     void saturate () {
       v[0] = std::min (std::max (v[0], (vtype)0), (vtype)0xff);
@@ -211,6 +213,7 @@ public:
       return a;
     }
     
+#if 0
     accu& abs() {
       v[0] = std::abs(v[0]);
       v[1] = std::abs(v[1]);
@@ -218,6 +221,7 @@ public:
       v[3] = std::abs(v[3]);
       return *this;
     }
+#endif
 
     void saturate () {
       v[0] = std::min (std::max (v[0], (vtype)0), (vtype)0xff);
@@ -383,12 +387,14 @@ public:
       return a;
     }
     
+#if 0
     accu& abs() {
       v[0] = std::abs(v[0]);
       v[1] = std::abs(v[1]);
       v[2] = std::abs(v[2]);
       return *this;
     }
+#endif
 
     void saturate () {
       v[0] = std::min (std::max (v[0], (vtype)0), (vtype)0xffff);
@@ -714,10 +720,12 @@ public:
       return a;
     }
 
+#if 0
     accu& abs() {
       v[0] = std::abs(v[0]);
       return *this;
     }
+#endif
 
     void saturate () {
       v[0] = std::min (std::max (v[0], (vtype)0), (vtype)0xff);
@@ -849,10 +857,12 @@ public:
       return a;
     }
     
+#if 0
     accu& abs() {
       v[0] = std::abs(v[0]);
       return *this;
     }
+#endif
 
     void saturate () {
       v[0] = std::min (std::max (v[0], (vtype)0), (vtype)0xffff);