BUG TRACKER


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000035CLAMModule: Corepublic2015-03-05 13:402015-03-05 13:42
Reporterthierry 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusnewResolutionopen 
Platformamd64OSFreeBSDOS Version10.1
Product Version1.4 (current stable release) 
Target VersionFixed in Version 
Summary0000035: Compilation error with clang / scons/libs/processing/src/SpectralEnvelopeExtract.cxx
DescriptionI'm porting CLAM to FreeBSD, and the compiler on recent version is now clang.

It needed some patches to Sconstruct to support FreeBSD, but after that compilation starts, and then fails with this error:

scons/libs/processing/src/SpectralEnvelopeExtract.cxx:56:88: error: addition of default argument on redeclaration makes this constructor a default constructor
        SpectralEnvelopeExtract::SpectralEnvelopeExtract(const SpectralEnvelopeExtractConfig &c = SpectralEnvelopeExtractConfig())
                                                                                              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scons/libs/processing/include/CLAM/SpectralEnvelopeExtract.hxx:66:3: note: previous declaration is here
                SpectralEnvelopeExtract(const SpectralEnvelopeExtractConfig &c);
Steps To ReproduceFreeBSD it not necessary, just use clang.
Additional InformationI check-outed the latest devel version, and that error is still there.
Tagsclang
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-03-05 13:40 thierry New Issue
2015-03-05 13:41 thierry Tag Attached: clang


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker