Monday, 2 March 2015

[gccsdk] patches to build gcc 4.7.1 on a clean checkout using gcc4.9

Patches that build gcc4.7.1 on my system:

Note, John, that the patches you added to the system do not reflect the sources that get fetched for a clean build.. starting with the svn checkout.

these all go into the gcc4.recipe folder

4 patches
1: src.Congruence_System.defs.hh.p
--- src/Congruence_System.defs.hh.orig  2015-03-02 00:57:04.862509828 +0000
+++ src/Congruence_System.defs.hh       2015-03-02 00:54:35.018509538 +0000
@@ -33,6 +33,7 @@ site: http://www.cs.unipr.it/ppl/ . */
 #include "Grid.types.hh"
 #include "Grid_Certificate.types.hh"
 #include <iosfwd>
+#include <cstddef>

 namespace Parma_Polyhedra_Library {

@@ -235,7 +236,7 @@ public:
   class const_iterator
     : public std::iterator<std::forward_iterator_tag,
                           Congruence,
-                          ptrdiff_t,
+                          std::ptrdiff_t,
                           const Congruence*,
                           const Congruence&> {
   public:

2:src.Constraint_System.defs.hh.p
--- src/Constraint_System.defs.hh.orig  2015-03-02 00:58:40.506510012 +0000
+++ src/Constraint_System.defs.hh       2015-03-02 00:53:58.862509469 +0000
@@ -33,6 +33,7 @@ site: http://www.cs.unipr.it/ppl/ . */
 #include "Congruence_System.types.hh"
 #include <iterator>
 #include <iosfwd>
+#include <cstddef>

 namespace Parma_Polyhedra_Library {

@@ -204,7 +205,7 @@ public:
   class const_iterator
     : public std::iterator<std::forward_iterator_tag,
                           Constraint,
-                          ptrdiff_t,
+                          std::ptrdiff_t,
                           const Constraint*,
                           const Constraint&> {
   public:

3:src.Generator_System.defs.hh.p
--- src/Generator_System.defs.hh.orig   2015-03-02 00:58:58.382510049 +0000
+++ src/Generator_System.defs.hh        2015-03-02 00:52:30.198509297 +0000
@@ -33,6 +33,7 @@ site: http://www.cs.unipr.it/ppl/ . */
 #include "Polyhedron.types.hh"
 #include "Poly_Con_Relation.defs.hh"
 #include <iosfwd>
+#include <cstddef>

 namespace Parma_Polyhedra_Library {

@@ -250,7 +251,7 @@ public:
   class const_iterator
     : public std::iterator<std::forward_iterator_tag,
                           Generator,
-                          ptrdiff_t,
+                          std::ptrdiff_t,
                           const Generator*,
                           const Generator&> {
   public:


4:src.Grid_Generator_System.defs.hh.p
--- src/Grid_Generator_System.defs.hh.orig      2015-03-02 00:57:33.570509886 +0000
+++ src/Grid_Generator_System.defs.hh   2015-03-02 00:53:19.630509395 +0000
@@ -30,6 +30,7 @@ site: http://www.cs.unipr.it/ppl/ . */
 #include "Variables_Set.types.hh"
 #include "Grid.types.hh"
 #include <iosfwd>
+#include <cstddef>

 namespace Parma_Polyhedra_Library {

@@ -267,7 +268,7 @@ public:
   class const_iterator
     : public std::iterator<std::forward_iterator_tag,
                           Grid_Generator,
-                          ptrdiff_t,
+                          std::ptrdiff_t,
                           const Grid_Generator*,
                           const Grid_Generator&>,
       private Generator_System::const_iterator {



--
Stop press! Just announced -

Free Standard Broadband for 6 months, unlimited data, and no minimum contract

For full details of see http://www.JustAskJB.co.uk

Intrigued? Call me

John Ballance C.Eng MIET - jwb@macpcrepair.co.uk - 07976 295923

No comments:

Post a Comment