slackware-current/source/ap/linuxdoc-tools/sources/openjade-1.3.2-gcc46.patch
Patrick J Volkerding 9664bee729 Slackware 14.0
Wed Sep 26 01:10:42 UTC 2012
Slackware 14.0 x86_64 stable is released!

We're perfectionists here at Slackware, so this release has been a long
time a-brewing.  But we think you'll agree that it was worth the wait.
Slackware 14.0 combines modern components, ease of use, and flexible
configuration... our "KISS" philosophy demands it.

The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a
dual-sided
32-bit/64-bit x86/x86_64 DVD.  Please consider supporting the Slackware
project by picking up a copy from store.slackware.com.  We're taking
pre-orders now, and offer a discount if you sign up for a subscription.

Thanks to everyone who helped make this happen.  The Slackware team, the
upstream developers, and (of course) the awesome Slackware user
community.

Have fun!  :-)
2018-05-31 22:51:55 +02:00

82 lines
2.2 KiB
Diff

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