Code Monkey home page Code Monkey logo

cansam's People

Contributors

jmarshall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

alenzhao

cansam's Issues

Release

Hi,

If the code is a suitable state would it be possible to create a base release?

Thanks,

Keiran

Building under GCC 4.6.3 fails

cansam builds fine under gcc 4.3.2 (Debian lenny) but while attempting to build on a precise box with 4.6.3 we've found several issues.

#include <stddef.h>

Needs to be added to several files (cansam/sam/header.h, cansam/sam/alignment.h)

Once this was resolved other more opaque issues have arisen. As I have very little C++ knowledge I'd really appreciate some help.

> make
g++ -Wall -Wextra -g -O2 -I.   -c -o lib/alignment.o lib/alignment.cpp
In file included from lib/alignment.cpp:36:0:
./cansam/sam/alignment.h: In constructor ‘sam::alignment::const_iterator::const_iterator(std::iterator<std::forward_iterator_tag, sam::alignment::tagfield, long int, const sam::alignment::tagfield*, const sam::alignment::tagfield&>)’:
./cansam/sam/alignment.h:410:42: error: ‘struct std::iterator<std::forward_iterator_tag, sam::alignment::tagfield, long int, const sam::alignment::tagfield*, const sam::alignment::tagfield&>’ has no member named ‘ptr’
./cansam/sam/alignment.h: In function ‘bool sam::operator==(sam::alignment::iterator, sam::alignment::const_iterator)’:
./cansam/sam/alignment.h:705:41: error: no matching function for call to ‘sam::alignment::const_iterator::const_iterator(sam::alignment::iterator&)’
./cansam/sam/alignment.h:705:41: note: candidates are:
./cansam/sam/alignment.h:432:14: note: sam::alignment::const_iterator::const_iterator(const char*)
./cansam/sam/alignment.h:432:14: note:   no known conversion for argument 1 from ‘sam::alignment::iterator’ to ‘const char*’
./cansam/sam/alignment.h:410:5: note: sam::alignment::const_iterator::const_iterator(std::iterator<std::forward_iterator_tag, sam::alignment::tagfield, long int, const sam::alignment::tagfield*, const sam::alignment::tagfield&>)
./cansam/sam/alignment.h:410:5: note:   no known conversion for argument 1 from ‘sam::alignment::iterator’ to ‘std::iterator<std::forward_iterator_tag, sam::alignment::tagfield, long int, const sam::alignment::tagfield*, const sam::alignment::tagfield&>’
./cansam/sam/alignment.h:409:5: note: sam::alignment::const_iterator::const_iterator(const sam::alignment::const_iterator&)
./cansam/sam/alignment.h:409:5: note:   no known conversion for argument 1 from ‘sam::alignment::iterator’ to ‘const sam::alignment::const_iterator&’
./cansam/sam/alignment.h:408:5: note: sam::alignment::const_iterator::const_iterator()
./cansam/sam/alignment.h:408:5: note:   candidate expects 0 arguments, 1 provided
./cansam/sam/alignment.h: In function ‘bool sam::operator!=(sam::alignment::iterator, sam::alignment::const_iterator)’:
./cansam/sam/alignment.h:707:41: error: no matching function for call to ‘sam::alignment::const_iterator::const_iterator(sam::alignment::iterator&)’
./cansam/sam/alignment.h:707:41: note: candidates are:
./cansam/sam/alignment.h:432:14: note: sam::alignment::const_iterator::const_iterator(const char*)
./cansam/sam/alignment.h:432:14: note:   no known conversion for argument 1 from ‘sam::alignment::iterator’ to ‘const char*’
./cansam/sam/alignment.h:410:5: note: sam::alignment::const_iterator::const_iterator(std::iterator<std::forward_iterator_tag, sam::alignment::tagfield, long int, const sam::alignment::tagfield*, const sam::alignment::tagfield&>)
./cansam/sam/alignment.h:410:5: note:   no known conversion for argument 1 from ‘sam::alignment::iterator’ to ‘std::iterator<std::forward_iterator_tag, sam::alignment::tagfield, long int, const sam::alignment::tagfield*, const sam::alignment::tagfield&>’
./cansam/sam/alignment.h:409:5: note: sam::alignment::const_iterator::const_iterator(const sam::alignment::const_iterator&)
./cansam/sam/alignment.h:409:5: note:   no known conversion for argument 1 from ‘sam::alignment::iterator’ to ‘const sam::alignment::const_iterator&’
./cansam/sam/alignment.h:408:5: note: sam::alignment::const_iterator::const_iterator()
./cansam/sam/alignment.h:408:5: note:   candidate expects 0 arguments, 1 provided
make: *** [lib/alignment.o] Error 1

Regards,

Keiran

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.