Subject: [Seqan-dev] Problem with GCC 4.6.3 and seq_io.h
Dear Colleagues,
I'm starting to play around with SeqAn using the last version available at the svn repo.
I'm using Linux with gcc 4.6.3 and Eclipse.
So far I succeeded compiling and running an example with the following headers: #include <seqan/basic.h> #include <seqan/sequence.h> #include <seqan/file.h>
but as soon as I try another example with:
#include <seqan/seq_io.h>
the compilers complains with:
/src/seqan-trunk/core/include/seqan/store/store_io_sam.h: In function ‘bool seqan::operator<(const seqan::CigarElement<TOperation, TCount>&, const seqan::CigarElement<TOperation, TCount>&)’:
/src/seqan-trunk/core/include/seqan/store/store_io_sam.h:120:96: error: ‘.’ cannot appear in a constant-_expression_
Using the include file <seqan.h> (the "musketeer" header file) provokes more errors to shown up.
Can anyone please help me and tell if:
1) possibly I am doing something wrong
2) the trunk version of the SeqAn library is still incompatible with gcc 4.?.?
3) there is a workaround? Is there a recommended compiler-version?