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 30 Aug 2010 07:57:23 AM UTC  
 
Category: NoneSeverity: 4 - Important
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

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

I believe the attached patch fixes the issue.

(file #10090)

Loic Dachary <loic>
Mon 30 Aug 2010 07:57:23 AM UTC, 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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

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

    Back to the top


    Powered by Savane 3.1-cleanup