|
|
26e7717 |
diff -up ppl-1.1/src/Dense_Row_defs.hh.orig ppl-1.1/src/Dense_Row_defs.hh
|
|
|
26e7717 |
--- ppl-1.1/src/Dense_Row_defs.hh.orig 2014-04-29 13:08:10.516682937 -0300
|
|
|
26e7717 |
+++ ppl-1.1/src/Dense_Row_defs.hh 2014-04-29 13:08:50.447684466 -0300
|
|
|
26e7717 |
@@ -33,6 +33,7 @@ site: http://bugseng.com/products/ppl/ .
|
|
|
26e7717 |
#include <memory>
|
|
|
26e7717 |
#include <vector>
|
|
|
26e7717 |
#include <limits>
|
|
|
26e7717 |
+#include <cstddef>
|
|
|
26e7717 |
|
|
|
26e7717 |
#ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS
|
|
|
26e7717 |
//! A finite sequence of coefficients.
|
|
|
26e7717 |
@@ -433,7 +434,7 @@ public:
|
|
|
26e7717 |
|
|
|
26e7717 |
typedef std::bidirectional_iterator_tag iterator_category;
|
|
|
26e7717 |
typedef Coefficient value_type;
|
|
|
26e7717 |
- typedef ptrdiff_t difference_type;
|
|
|
26e7717 |
+ typedef std::ptrdiff_t difference_type;
|
|
|
26e7717 |
typedef value_type* pointer;
|
|
|
26e7717 |
typedef value_type& reference;
|
|
|
26e7717 |
|
|
|
26e7717 |
@@ -474,7 +475,7 @@ class Parma_Polyhedra_Library::Dense_Row
|
|
|
26e7717 |
public:
|
|
|
26e7717 |
|
|
|
26e7717 |
typedef const Coefficient value_type;
|
|
|
26e7717 |
- typedef ptrdiff_t difference_type;
|
|
|
26e7717 |
+ typedef std::ptrdiff_t difference_type;
|
|
|
26e7717 |
typedef value_type* pointer;
|
|
|
26e7717 |
typedef Coefficient_traits::const_reference reference;
|
|
|
26e7717 |
|
|
|
26e7717 |
diff -up ppl-1.1/src/Linear_Expression_Interface_defs.hh.orig ppl-1.1/src/Linear_Expression_Interface_defs.hh
|
|
|
26e7717 |
--- ppl-1.1/src/Linear_Expression_Interface_defs.hh.orig 2014-04-29 13:08:17.337683198 -0300
|
|
|
26e7717 |
+++ ppl-1.1/src/Linear_Expression_Interface_defs.hh 2014-04-29 13:08:40.999684104 -0300
|
|
|
26e7717 |
@@ -32,6 +32,7 @@ site: http://bugseng.com/products/ppl/ .
|
|
|
26e7717 |
#include "Sparse_Row_types.hh"
|
|
|
26e7717 |
#include <vector>
|
|
|
26e7717 |
#include <set>
|
|
|
26e7717 |
+#include <cstddef>
|
|
|
26e7717 |
|
|
|
26e7717 |
#ifdef PPL_DOXYGEN_INCLUDE_IMPLEMENTATION_DETAILS
|
|
|
26e7717 |
//! A linear expression.
|
|
|
26e7717 |
@@ -65,7 +66,7 @@ public:
|
|
|
26e7717 |
public:
|
|
|
26e7717 |
typedef std::bidirectional_iterator_tag iterator_category;
|
|
|
26e7717 |
typedef const Coefficient value_type;
|
|
|
26e7717 |
- typedef ptrdiff_t difference_type;
|
|
|
26e7717 |
+ typedef std::ptrdiff_t difference_type;
|
|
|
26e7717 |
typedef value_type* pointer;
|
|
|
26e7717 |
typedef Coefficient_traits::const_reference reference;
|
|
|
26e7717 |
|
|
|
26e7717 |
diff -up ppl-1.1/src/CO_Tree_defs.hh.orig ppl-1.1/src/CO_Tree_defs.hh
|
|
|
26e7717 |
--- ppl-1.1/src/CO_Tree_defs.hh.orig 2014-04-29 13:11:33.725690719 -0300
|
|
|
26e7717 |
+++ ppl-1.1/src/CO_Tree_defs.hh 2014-04-29 13:11:55.943691569 -0300
|
|
|
26e7717 |
@@ -28,6 +28,7 @@ site: http://bugseng.com/products/ppl/ .
|
|
|
26e7717 |
|
|
|
26e7717 |
#include "Coefficient_defs.hh"
|
|
|
26e7717 |
#include <memory>
|
|
|
26e7717 |
+#include <cstddef>
|
|
|
26e7717 |
|
|
|
26e7717 |
#ifndef PPL_CO_TREE_EXTRA_DEBUG
|
|
|
26e7717 |
#ifdef PPL_ABI_BREAKING_EXTRA_DEBUG
|
|
|
26e7717 |
@@ -159,7 +160,7 @@ public:
|
|
|
26e7717 |
|
|
|
26e7717 |
typedef std::bidirectional_iterator_tag iterator_category;
|
|
|
26e7717 |
typedef const data_type value_type;
|
|
|
26e7717 |
- typedef ptrdiff_t difference_type;
|
|
|
26e7717 |
+ typedef std::ptrdiff_t difference_type;
|
|
|
26e7717 |
typedef value_type* pointer;
|
|
|
26e7717 |
typedef data_type_const_reference reference;
|
|
|
26e7717 |
|
|
|
26e7717 |
@@ -314,7 +315,7 @@ public:
|
|
|
26e7717 |
|
|
|
26e7717 |
typedef std::bidirectional_iterator_tag iterator_category;
|
|
|
26e7717 |
typedef data_type value_type;
|
|
|
26e7717 |
- typedef ptrdiff_t difference_type;
|
|
|
26e7717 |
+ typedef std::ptrdiff_t difference_type;
|
|
|
26e7717 |
typedef value_type* pointer;
|
|
|
26e7717 |
typedef value_type& reference;
|
|
|
26e7717 |
|
|
|
26e7717 |
diff -up ppl-1.1/src/CO_Tree_inlines.hh.orig ppl-1.1/src/CO_Tree_inlines.hh
|
|
|
26e7717 |
--- ppl-1.1/src/CO_Tree_inlines.hh.orig 2014-04-29 13:14:12.738696808 -0300
|
|
|
26e7717 |
+++ ppl-1.1/src/CO_Tree_inlines.hh 2014-04-29 13:14:48.887698192 -0300
|
|
|
26e7717 |
@@ -24,6 +24,8 @@ site: http://bugseng.com/products/ppl/ .
|
|
|
26e7717 |
#ifndef PPL_CO_Tree_inlines_hh
|
|
|
26e7717 |
#define PPL_CO_Tree_inlines_hh 1
|
|
|
26e7717 |
|
|
|
26e7717 |
+#include <cstddef>
|
|
|
26e7717 |
+
|
|
|
26e7717 |
namespace Parma_Polyhedra_Library {
|
|
|
26e7717 |
|
|
|
26e7717 |
inline dimension_type
|
|
|
26e7717 |
@@ -31,7 +33,7 @@ CO_Tree::dfs_index(const_iterator itr) c
|
|
|
26e7717 |
PPL_ASSERT(itr.current_index != 0);
|
|
|
26e7717 |
PPL_ASSERT(itr.current_index >= indexes + 1);
|
|
|
26e7717 |
PPL_ASSERT(itr.current_index <= indexes + reserved_size);
|
|
|
26e7717 |
- const ptrdiff_t index = itr.current_index - indexes;
|
|
|
26e7717 |
+ const std::ptrdiff_t index = itr.current_index - indexes;
|
|
|
26e7717 |
return static_cast<dimension_type>(index);
|
|
|
26e7717 |
}
|
|
|
26e7717 |
|
|
|
26e7717 |
@@ -40,7 +42,7 @@ CO_Tree::dfs_index(iterator itr) const {
|
|
|
26e7717 |
PPL_ASSERT(itr.current_index != 0);
|
|
|
26e7717 |
PPL_ASSERT(itr.current_index >= indexes + 1);
|
|
|
26e7717 |
PPL_ASSERT(itr.current_index <= indexes + reserved_size);
|
|
|
26e7717 |
- const ptrdiff_t index = itr.current_index - indexes;
|
|
|
26e7717 |
+ const std::ptrdiff_t index = itr.current_index - indexes;
|
|
|
26e7717 |
return static_cast<dimension_type>(index);
|
|
|
26e7717 |
}
|
|
|
26e7717 |
|
|
|
26e7717 |
@@ -772,7 +774,7 @@ CO_Tree::tree_iterator::follow_left_chil
|
|
|
26e7717 |
p -= (offset - 1);
|
|
|
26e7717 |
while (*p == unused_index)
|
|
|
26e7717 |
++p;
|
|
|
26e7717 |
- const ptrdiff_t distance = p - tree.indexes;
|
|
|
26e7717 |
+ const std::ptrdiff_t distance = p - tree.indexes;
|
|
|
26e7717 |
PPL_ASSERT(distance >= 0);
|
|
|
26e7717 |
i = static_cast<dimension_type>(distance);
|
|
|
26e7717 |
offset = least_significant_one_mask(i);
|
|
|
26e7717 |
@@ -787,7 +789,7 @@ CO_Tree::tree_iterator::follow_right_chi
|
|
|
26e7717 |
p += (offset - 1);
|
|
|
26e7717 |
while (*p == unused_index)
|
|
|
26e7717 |
--p;
|
|
|
26e7717 |
- const ptrdiff_t distance = p - tree.indexes;
|
|
|
26e7717 |
+ const std::ptrdiff_t distance = p - tree.indexes;
|
|
|
26e7717 |
PPL_ASSERT(distance >= 0);
|
|
|
26e7717 |
i = static_cast<dimension_type>(distance);
|
|
|
26e7717 |
offset = least_significant_one_mask(i);
|
|
|
26e7717 |
diff -up ppl-1.1/src/Linear_Expression_defs.hh.orig ppl-1.1/src/Linear_Expression_defs.hh
|
|
|
26e7717 |
--- ppl-1.1/src/Linear_Expression_defs.hh.orig 2014-04-29 13:15:39.793700141 -0300
|
|
|
26e7717 |
+++ ppl-1.1/src/Linear_Expression_defs.hh 2014-04-29 13:16:07.464701201 -0300
|
|
|
26e7717 |
@@ -51,6 +51,7 @@ site: http://bugseng.com/products/ppl/ .
|
|
|
26e7717 |
|
|
|
26e7717 |
#include "Linear_Expression_Interface_defs.hh"
|
|
|
26e7717 |
#include "Variable_defs.hh"
|
|
|
26e7717 |
+#include <cstddef>
|
|
|
26e7717 |
|
|
|
26e7717 |
namespace Parma_Polyhedra_Library {
|
|
|
26e7717 |
|
|
|
26e7717 |
@@ -381,7 +382,7 @@ public:
|
|
|
26e7717 |
public:
|
|
|
26e7717 |
typedef std::bidirectional_iterator_tag iterator_category;
|
|
|
26e7717 |
typedef const Coefficient value_type;
|
|
|
26e7717 |
- typedef ptrdiff_t difference_type;
|
|
|
26e7717 |
+ typedef std::ptrdiff_t difference_type;
|
|
|
26e7717 |
typedef value_type* pointer;
|
|
|
26e7717 |
typedef Coefficient_traits::const_reference reference;
|
|
|
26e7717 |
|
|
|
26e7717 |
diff -up ppl-1.1/src/CO_Tree.cc.orig ppl-1.1/src/CO_Tree.cc
|
|
|
26e7717 |
--- ppl-1.1/src/CO_Tree.cc.orig 2014-04-29 13:19:37.192709232 -0300
|
|
|
26e7717 |
+++ ppl-1.1/src/CO_Tree.cc 2014-04-29 13:19:58.000710029 -0300
|
|
|
26e7717 |
@@ -954,7 +954,7 @@ PPL::CO_Tree
|
|
|
26e7717 |
--subtree_size;
|
|
|
26e7717 |
}
|
|
|
26e7717 |
|
|
|
26e7717 |
- const ptrdiff_t distance = first_unused_index - indexes;
|
|
|
26e7717 |
+ const std::ptrdiff_t distance = first_unused_index - indexes;
|
|
|
26e7717 |
PPL_ASSERT(distance >= 0);
|
|
|
26e7717 |
return static_cast<dimension_type>(distance);
|
|
|
26e7717 |
}
|
|
|
26e7717 |
diff -up ppl-1.1/src/Constraint_System_defs.hh.orig ppl-1.1/src/Constraint_System_defs.hh
|
|
|
26e7717 |
--- ppl-1.1/src/Constraint_System_defs.hh.orig 2014-04-29 13:30:05.530733294 -0300
|
|
|
26e7717 |
+++ ppl-1.1/src/Constraint_System_defs.hh 2014-04-29 13:30:27.167734122 -0300
|
|
|
26e7717 |
@@ -37,6 +37,7 @@ site: http://bugseng.com/products/ppl/ .
|
|
|
26e7717 |
#include "termination_types.hh"
|
|
|
26e7717 |
#include <iterator>
|
|
|
26e7717 |
#include <iosfwd>
|
|
|
26e7717 |
+#include <cstddef>
|
|
|
26e7717 |
|
|
|
26e7717 |
namespace Parma_Polyhedra_Library {
|
|
|
26e7717 |
|
|
|
26e7717 |
@@ -609,7 +610,7 @@ for (Constraint_System::const_iterator i
|
|
|
26e7717 |
class Parma_Polyhedra_Library::Constraint_System_const_iterator
|
|
|
26e7717 |
: public std::iterator
|
|
|
26e7717 |
Constraint,
|
|
|
26e7717 |
- ptrdiff_t,
|
|
|
26e7717 |
+ std::ptrdiff_t,
|
|
|
26e7717 |
const Constraint*,
|
|
|
26e7717 |
const Constraint&> {
|
|
|
26e7717 |
public:
|
|
|
26e7717 |
diff -up ppl-1.1/src/Congruence_System_defs.hh.orig ppl-1.1/src/Congruence_System_defs.hh
|
|
|
26e7717 |
--- ppl-1.1/src/Congruence_System_defs.hh.orig 2014-04-29 13:33:56.927742155 -0300
|
|
|
26e7717 |
+++ ppl-1.1/src/Congruence_System_defs.hh 2014-04-29 13:34:15.535742867 -0300
|
|
|
26e7717 |
@@ -33,6 +33,7 @@ site: http://bugseng.com/products/ppl/ .
|
|
|
26e7717 |
#include "Congruence_defs.hh"
|
|
|
26e7717 |
#include "Constraint_System_types.hh"
|
|
|
26e7717 |
#include <iosfwd>
|
|
|
26e7717 |
+#include <cstddef>
|
|
|
26e7717 |
|
|
|
26e7717 |
namespace Parma_Polyhedra_Library {
|
|
|
26e7717 |
|
|
|
26e7717 |
@@ -249,7 +250,7 @@ public:
|
|
|
26e7717 |
class const_iterator
|
|
|
26e7717 |
: public std::iterator
|
|
|
26e7717 |
Congruence,
|
|
|
26e7717 |
- ptrdiff_t,
|
|
|
26e7717 |
+ std::ptrdiff_t,
|
|
|
26e7717 |
const Congruence*,
|
|
|
26e7717 |
const Congruence&> {
|
|
|
26e7717 |
public:
|
|
|
26e7717 |
diff -up ppl-1.1/src/Generator_System_defs.hh.orig ppl-1.1/src/Generator_System_defs.hh
|
|
|
26e7717 |
--- ppl-1.1/src/Generator_System_defs.hh.orig 2014-04-29 13:44:30.122766402 -0300
|
|
|
26e7717 |
+++ ppl-1.1/src/Generator_System_defs.hh 2014-04-29 13:44:48.167767093 -0300
|
|
|
26e7717 |
@@ -33,6 +33,7 @@ site: http://bugseng.com/products/ppl/ .
|
|
|
26e7717 |
#include "Poly_Con_Relation_defs.hh"
|
|
|
26e7717 |
#include "Polyhedron_types.hh"
|
|
|
26e7717 |
#include <iosfwd>
|
|
|
26e7717 |
+#include <cstddef>
|
|
|
26e7717 |
|
|
|
26e7717 |
namespace Parma_Polyhedra_Library {
|
|
|
26e7717 |
|
|
|
26e7717 |
@@ -679,7 +680,7 @@ copy(gs.begin(), gs.end(), ostream_itera
|
|
|
26e7717 |
class Parma_Polyhedra_Library::Generator_System_const_iterator
|
|
|
26e7717 |
: public std::iterator
|
|
|
26e7717 |
Generator,
|
|
|
26e7717 |
- ptrdiff_t,
|
|
|
26e7717 |
+ std::ptrdiff_t,
|
|
|
26e7717 |
const Generator*,
|
|
|
26e7717 |
const Generator&> {
|
|
|
26e7717 |
public:
|
|
|
26e7717 |
diff -up ppl-1.1/src/Grid_Generator_System_defs.hh.orig ppl-1.1/src/Grid_Generator_System_defs.hh
|
|
|
26e7717 |
--- ppl-1.1/src/Grid_Generator_System_defs.hh.orig 2014-04-29 13:45:26.073768544 -0300
|
|
|
26e7717 |
+++ ppl-1.1/src/Grid_Generator_System_defs.hh 2014-04-29 13:45:42.535769175 -0300
|
|
|
26e7717 |
@@ -31,6 +31,7 @@ site: http://bugseng.com/products/ppl/ .
|
|
|
26e7717 |
#include "Variables_Set_types.hh"
|
|
|
26e7717 |
#include "Polyhedron_types.hh"
|
|
|
26e7717 |
#include <iosfwd>
|
|
|
26e7717 |
+#include <cstddef>
|
|
|
26e7717 |
|
|
|
26e7717 |
namespace Parma_Polyhedra_Library {
|
|
|
26e7717 |
|
|
|
26e7717 |
@@ -277,7 +278,7 @@ public:
|
|
|
26e7717 |
class const_iterator
|
|
|
26e7717 |
: public std::iterator
|
|
|
26e7717 |
Grid_Generator,
|
|
|
26e7717 |
- ptrdiff_t,
|
|
|
26e7717 |
+ std::ptrdiff_t,
|
|
|
26e7717 |
const Grid_Generator*,
|
|
|
26e7717 |
const Grid_Generator&> {
|
|
|
26e7717 |
public:
|