Skip to content

Compilation fails in 0.2.0-rc11 and rc12, but rc10 OK #117

@winni2k

Description

@winni2k

I am using gcc version 4.7.2 on fedora 18. On 0.2.0-rc11 if I run make, then the command

gcc -g -Wall -O2 -I. -DSAMTOOLS=1 -c -o hts.o hts.c

gives me a whole string of "conflicting type" errors like these ones:

gcc -g -Wall -O2 -I. -DSAMTOOLS=1 -c -o hts.o hts.c
In file included from /homes/kretzsch/include/htslib/sam.h:5:0,
                 from ./cram/cram_samtools.h:61,
                 from cram/cram.h:47,
                 from hts.c:11:
/homes/kretzsch/include/htslib/hts.h:58:3: error: conflicting types for ‘htsFile’
In file included from hts.c:10:0:
htslib/hts.h:58:3: note: previous declaration of ‘htsFile’ was here
In file included from /homes/kretzsch/include/htslib/sam.h:5:0,
                 from ./cram/cram_samtools.h:61,
                 from cram/cram.h:47,
                 from hts.c:11:

0.2.0-rc10 is fine. Is this happening to anybody else?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions