Re: [Seqan-dev] Problem with GCC 4.6.3 and seq_io.h


Dear Walter,

SeqAn should run with all modern GCC versions. You can see the current nightly build status here:


However, we are currently building with g++-4.6.2 and not the x.3 variant.

I will look into this.

Cheers,
Manuel


From: Walter Pasiego [walter.pasiego@gmail.com]
Sent: Tuesday, February 05, 2013 3:04 PM
To: seqan-dev@lists.fu-berlin.de
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?

Many thanks in advance!

Walter