Blame SOURCES/openjade-1.3.2-gcc46.patch

4d9b7d
If a class or struct has no user-defined default constructor, C++ doesn't
4d9b7d
allow you to default construct a const instance of it.
4d9b7d
4d9b7d
https://bugs.gentoo.org/358021
4d9b7d
http://clang.llvm.org/compatibility.html#default_init_const
4d9b7d
http://gcc.gnu.org/PR44499
4d9b7d
4d9b7d
4d9b7d
--- a/jade/TeXFOTBuilder.cxx
4d9b7d
+++ b/jade/TeXFOTBuilder.cxx
4d9b7d
@@ -88,6 +88,8 @@ public:
4d9b7d
       value.convertString(nic_.placement);
4d9b7d
       }
4d9b7d
     ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
4d9b7d
+  public:
4d9b7d
+    PageFloatFlowObj() {}
4d9b7d
   private:
4d9b7d
     PageFloatNIC nic_;
4d9b7d
     StringC name_;
4d9b7d
@@ -101,6 +103,8 @@ public:
4d9b7d
       fotb.endPageFootnote();
4d9b7d
     }
4d9b7d
     ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
4d9b7d
+  public:
4d9b7d
+    PageFootnoteFlowObj() {}
4d9b7d
   private:
4d9b7d
   };
4d9b7d
   //////////////////////////////////////////////////////////////////////
4d9b7d
--- a/jade/TransformFOTBuilder.cxx
4d9b7d
+++ b/jade/TransformFOTBuilder.cxx
4d9b7d
@@ -41,6 +41,7 @@ public:
4d9b7d
   };
4d9b7d
   class EntityRefFlowObj : public TransformExtensionFlowObj {
4d9b7d
   public:
4d9b7d
+    EntityRefFlowObj() {}
4d9b7d
     void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
4d9b7d
       fotb.entityRef(name_);
4d9b7d
     }
4d9b7d
@@ -56,6 +57,7 @@ public:
4d9b7d
   };
4d9b7d
   class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
4d9b7d
   public:
4d9b7d
+    ProcessingInstructionFlowObj() {}
4d9b7d
     void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
4d9b7d
       fotb.processingInstruction(data_);
4d9b7d
     }
4d9b7d
@@ -98,6 +100,8 @@ public:
4d9b7d
       }
4d9b7d
     }
4d9b7d
     ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
4d9b7d
+  public:
4d9b7d
+    EmptyElementFlowObj() {}
4d9b7d
   private:
4d9b7d
     ElementNIC nic_;
4d9b7d
   };
4d9b7d
@@ -133,6 +137,8 @@ public:
4d9b7d
       }
4d9b7d
     }
4d9b7d
     ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
4d9b7d
+  public:
4d9b7d
+    ElementFlowObj() {}
4d9b7d
   private:
4d9b7d
     ElementNIC nic_;
4d9b7d
   };
4d9b7d
@@ -150,6 +156,8 @@ public:
4d9b7d
       value.convertString(systemId_);
4d9b7d
     }
4d9b7d
     ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
4d9b7d
+  public:
4d9b7d
+    EntityFlowObj() {}
4d9b7d
   private:
4d9b7d
     StringC systemId_;
4d9b7d
   };
4d9b7d
@@ -174,6 +182,8 @@ public:
4d9b7d
       }
4d9b7d
     }
4d9b7d
     ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
4d9b7d
+  public:
4d9b7d
+    DocumentTypeFlowObj() {}
4d9b7d
   private:
4d9b7d
     DocumentTypeNIC nic_;
4d9b7d
   };