Bug#778065: pktools: ftbfs with GCC-5
Sebastiaan Couwenberg
sebastic at xs4all.nl
Fri Jun 26 10:06:20 UTC 2015
Control: forwarded -1 https://savannah.nongnu.org/bugs/index.php?45416
Control: tags -1 pending
Hi Matthias,
Thanks for your work on GCC.
On 02/12/2015 11:35 AM, Matthias Klose wrote:
> In file included from pkfssvm.cc:28:0:
> ../../src/algorithms/FeatureSelector.h:52:177: error: redeclaration of 'double FeatureSelector::forwardUnivariate(std::vector<Vector2d<T> >&, CostFactory&, std::list<int>&, int, short int)' may not have default arguments [-fpermissive]
> template<class T> double FeatureSelector::forwardUnivariate(std::vector< Vector2d<T> >& v, CostFactory& theCostFactory, std::list<int>& subset, int maxFeatures=0, short verbose){
> ^
> ../../src/algorithms/FeatureSelector.h:111:167: error: redeclaration of 'double FeatureSelector::forward(std::vector<Vector2d<T> >&, CostFactory&, std::list<int>&, int, short int)' may not have default arguments [-fpermissive]
> template<class T> double FeatureSelector::forward(std::vector< Vector2d<T> >& v, CostFactory& theCostFactory, std::list<int>& subset, int maxFeatures=0, short verbose){
I've patched this issue and forwarded it upstream. A new revision for
unstable will be uploaded soon.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the Pkg-grass-devel
mailing list