Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 265261 Details for
Bug 358021
app-text/openjade-1.3.2-r3 fails to build with GCC 4.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
openjade-1.3.2-gcc46.patch
openjade-1.3.2-gcc46.patch (text/plain), 2.20 KB, created by
Ryan Hill (RETIRED)
on 2011-03-09 06:27:25 UTC
(
hide
)
Description:
openjade-1.3.2-gcc46.patch
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2011-03-09 06:27:25 UTC
Size:
2.20 KB
patch
obsolete
>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_; > };
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 358021
: 265261 |
271935