Re: [Ascend] Failed builds with GCC6

2016-04-15 Thread Antonio Trande
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 04/15/2016 04:48 PM, Jonathan Wakely wrote: > On 14/04/16 18:29 +0200, Antonio Trande wrote: >>> I can also confirm that making the Curve default constructor >>> public allows the build to complete. >>> >>> -- >> >> Ehm ... >> >> How exactly?

Re: [Ascend] Failed builds with GCC6

2016-04-15 Thread Jonathan Wakely
On 14/04/16 18:29 +0200, Antonio Trande wrote: I can also confirm that making the Curve default constructor public allows the build to complete. -- Ehm ... How exactly? Thanks for yours replies. As in this attachment (done by hand, not from the sources in the repo, because pkgs.fedoraprojec

Re: [Ascend] Failed builds with GCC6

2016-04-14 Thread Antonio Trande
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 04/14/2016 04:52 PM, Jonathan Wakely wrote: > On 14/04/16 15:47 +0100, Jonathan Wakely wrote: >> On 14/04/16 15:42 +0100, Jonathan Wakely wrote: >>> On 14/04/16 06:34 -0400, Igor Gnatenko wrote: ascxx/curve.h: class Curve : public Instanc{ fr

Re: [Ascend] Failed builds with GCC6

2016-04-14 Thread Jonathan Wakely
On 14/04/16 15:47 +0100, Jonathan Wakely wrote: On 14/04/16 15:42 +0100, Jonathan Wakely wrote: On 14/04/16 06:34 -0400, Igor Gnatenko wrote: ascxx/curve.h: class Curve : public Instanc{ friend class std::vector; private: friend class Plot; explicit Curve(const Instanc &); Curve(); public:

Re: [Ascend] Failed builds with GCC6

2016-04-14 Thread Jonathan Wakely
On 14/04/16 15:42 +0100, Jonathan Wakely wrote: On 14/04/16 06:34 -0400, Igor Gnatenko wrote: ascxx/curve.h: class Curve : public Instanc{ friend class std::vector; private: friend class Plot; explicit Curve(const Instanc &); Curve(); public: Curve(const Curve &); std::vector x; st

Re: [Ascend] Failed builds with GCC6

2016-04-14 Thread Jonathan Wakely
On 14/04/16 06:34 -0400, Igor Gnatenko wrote: ascxx/curve.h: class Curve : public Instanc{ friend class std::vector; private: friend class Plot; explicit Curve(const Instanc &); Curve(); public: Curve(const Curve &); std::vector x; std::vector y; const std::string getLegen

Re: [Ascend] Failed builds with GCC6

2016-04-14 Thread Igor Gnatenko
e::Curve(); %include "curve.h" It should be ignored by SWIG, but looks like it's not... - Original Message - > From: "Antonio Trande" > To: devel@lists.fedoraproject.org > Sent: Thursday, April 14, 2016 12:25:14 PM > Subject: [Ascend] Failed builds

[Ascend] Failed builds with GCC6

2016-04-14 Thread Antonio Trande
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi all, Ascend is not built yet on Fedora 24+ because of errors with GCC6: > ascxx/ascpy_wrap.cc:27027:69: required from here > /usr/include/c++/6.0.0/bits/stl_construct.h:75:7: error: > 'Curve::Curve()' is private within this context { > ::new