bugBio++ Program Suite - Bugs: bug #16589, invalid conversion from...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #16589: invalid conversion from ‘bpp::SequenceContainer*’ to ‘bpp::SiteContainer*’

Submitted by:  Loic Dachary <loic>
Submitted on:  Mon Aug 30 07:57:23 2010  
Category: NoneSeverity: 4 - Important
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Mon Aug 30 08:11:00 2010, comment #1:

I believe the attached patch fixes the issue.

(file #10090)

Loic Dachary <loic>
Mon Aug 30 07:57:23 2010, original submission:

When compiling SVN r158 against

ii libbpp-numcalc 1.8.1 The Bio++ NumCalc library.
ii libbpp-numcalc-dev 1.8.1 The Bio++ NumCalc library development files.
ii libbpp-phyl 1.9.1 The Bio++ Phylogenetic library.
ii libbpp-phyl-dev 1.9.1 The Bio++ Phylogenetic library development files.
ii libbpp-seq 1.7.1 The Bio++ Sequence library.
ii libbpp-seq-dev 1.7.1 The Bio++ Sequence library development files.
ii libbpp-utils 1.5.1 The Bio++ Utils library.
ii libbpp-utils-dev 1.5.1 The Bio++ Utils library development files.

I get the following

[ 0%] Built target info
[ 10%] Building CXX object bppSuite/CMakeFiles/bppancestor.dir/bppAncestor.cpp.o
/home/loic/Downloads/bpp/bppsuite/bppSuite/bppAncestor.cpp: In function ‘int main(int, char**)’:
/home/loic/Downloads/bpp/bppsuite/bppSuite/bppAncestor.cpp:447: error: invalid conversion from ‘bpp::SequenceContainer*’ to ‘bpp::SiteContainer*’
/home/loic/Downloads/bpp/bppsuite/bppSuite/bppAncestor.cpp:447: error: cannot convert from base ‘bpp::SequenceContainer’ to derived type ‘bpp::SiteContainer’ via virtual base ‘bpp::SequenceContainer’
/home/loic/Downloads/bpp/bppsuite/bppSuite/bppAncestor.cpp:452: error: invalid conversion from ‘bpp::SequenceContainer*’ to ‘bpp::SiteContainer*’
/home/loic/Downloads/bpp/bppsuite/bppSuite/bppAncestor.cpp:452: error: cannot convert from base ‘bpp::SequenceContainer’ to derived type ‘bpp::SiteContainer’ via virtual base ‘bpp::SequenceContainer’
/home/loic/Downloads/bpp/bppsuite/bppSuite/bppAncestor.cpp:454: error: ‘writeAlignmentFile’ is not a member of ‘bpp::SequenceApplicationTools’
make[2]: *** [bppSuite/CMakeFiles/bppancestor.dir/bppAncestor.cpp.o] Error 1
make[1]: *** [bppSuite/CMakeFiles/bppancestor.dir/all] Error 2
make: *** [all] Error 2

Loic Dachary <loic>


Attached Files
file #10090:  compile.patch added by loic (424B - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by loic (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Aug 30 08:11:00 2010loicAttached File-=>Added compile.patch, #10090
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup