-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Description
Build fails under clang 6 due to #pragma pack change during compilation.
We could either build everything with -fpack-struct=1 or restore default packing size after the struct def as shown in the patch below.
--- src/libfastx/fastx.h.orig 2018-05-16 14:50:08 UTC
+++ src/libfastx/fastx.h
@@ -58,7 +58,7 @@ typedef enum {
OUTPUT_SAME_AS_INPUT=3
} OUTPUT_FILE_TYPE;
-#pragma pack(1)
+#pragma pack(push,1)
typedef struct
{
/* Record data - common for FASTA/FASTQ */
@@ -115,6 +115,7 @@ typedef struct
FILE* input;
FILE* output;
} FASTX ;
+#pragma pack(pop)
void fastx_init_reader(FASTX *pFASTX, const char* filename,
Metadata
Metadata
Assignees
Labels
No labels