Re: [Ascend] Failed builds with GCC6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ascxx/curve.h:
class Curve : public Instanc{
    friend class std::vector<Curve>;
private:
    friend class Plot;
    explicit Curve(const Instanc &);
    Curve();
public:
    Curve(const Curve &);
    std::vector<double> x;
    std::vector<double> y;
    const std::string getLegend() const;

    /**
        Get the curve format string, as used by matplotlib.
        Documented here:
        http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.plot

        (This value is not used by the Tcl/Tk GUI.)
    */
    const std::string getFormat() const;
};

ascxx/ascpy.i:
%ignore Curve::Curve();

%include "curve.h"


It should be ignored by SWIG, but looks like it's not...

----- Original Message -----
> From: "Antonio Trande" <anto.trande@xxxxxxxxx>
> To: devel@xxxxxxxxxxxxxxxxxxxxxxx
> Sent: Thursday, April 14, 2016 12:25:14 PM
> Subject: [Ascend] Failed builds with GCC6
> 
> -----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(static_cast<void*>(__p)) _T1(std::forward<_Args>(__args)...);
> > }
> > 
> > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > In file included from ascxx/plot.h:10:0, from
> > ascxx/ascpy_wrap.cc:4058: ascxx/curve.h:15:2: note: declared
> > private here Curve(); ^~~~~ solvers/qrslv/qrslv.c: In function
> > 'qrslv_get_default_parameters': solvers/qrslv/qrslv.c:2806:9:
> > warning: variable 'make_macros' set but not used
> > [-Wunused-but-set-variable] int32 make_macros = 0; ^~~~~~~~~~~
> > solvers/qrslv/qrslv.c:2804:18: warning: variable 'lo' set but not
> > used [-Wunused-but-set-variable] union parm_arg lo,hi,val; ^~
> > solvers/qrslv/qrslv.c:2803:18: warning: variable 'sys' set but not
> > used [-Wunused-but-set-variable] qrslv_system_t sys = NULL;
> 
> Upstream is very slow to reply, and I'm not able to fix this issue.
> Can anyone help me please ?
> 
> Ascend: https://admin.fedoraproject.org/pkgdb/package/rpms/ascend/
> Full log:
> https://kojipkgs.fedoraproject.org//work/tasks/8211/13658211/build.log
> 
> Regards.
> - --
> - ---
> Antonio Trande
> mailto: sagitter 'at' fedoraproject 'dot' org
> http://fedoraos.wordpress.com/
> https://fedoraproject.org/wiki/User:Sagitter
> GPG Key: 0x6CE6D08A
> Check on https://keys.fedoraproject.org/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
> 
> iQEcBAEBCAAGBQJXD2/0AAoJELbsjn1s5tCKoxUH/20r4JdqrNLOulC+rWfho8pt
> kElvVQsD1UdtKRh3KXniDCzD6wnHn3ft5goK4873Z9Hklpvx0K/2SR0EZKiiCKPR
> FDpMzt6GGyXff0HAq3jUF4O6RFoRqoBCn6hqXEYzO7C2hP2hwJTLOzJK8T3aEFk+
> GNoB8/SIO7MgkZm5Qgs1YvNjnid48q27Lc87bme9uO4s4WiiXoYsmgahWfdPd2bF
> SsFmUoIldkg9DWNmhpRca5GnIyqh5TLyEQC/eby6wE7Ij3o/4dJtYpwmlT2Fjvz3
> xjIL196b2++isVQjFLuT0B20BPGcoEKOMMt1AHH/SCZRzig3mZkw6Thz7TvxcHg=
> =Hrta
> -----END PGP SIGNATURE-----
> --
> devel mailing list
> devel@xxxxxxxxxxxxxxxxxxxxxxx
> http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx
> 

-- 
-Igor Gnatenko
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux