alexchwong / SpliceWiz

SpliceWiz is an R package for exploring differential alternative splicing events in splice-aware alignment BAM files.
Other
13 stars 8 forks source link

Add missing include #55

Closed pekkarr closed 9 months ago

pekkarr commented 10 months ago

Fixes compilation on Arch Linux

Without this patch compilation fails on Arch.

In file included from ReadBlockProcessor_TandemJunctions.cpp:26:
ReadBlockProcessor_TandemJunctions.h:31:5: error: ‘uint32_t’ does not name a type
   31 |     uint32_t start1;
      |     ^~~~~~~~
ReadBlockProcessor_TandemJunctions.h:27:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
   26 | #include "ReadBlockProcessor.h"
  +++ |+#include <cstdint>
   27 |
ReadBlockProcessor_TandemJunctions.h:32:5: error: ‘uint32_t’ does not name a type
   32 |     uint32_t end1;
      |     ^~~~~~~~
ReadBlockProcessor_TandemJunctions.h:32:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
ReadBlockProcessor_TandemJunctions.h:33:5: error: ‘uint32_t’ does not name a type
   33 |     uint32_t start2;
      |     ^~~~~~~~
ReadBlockProcessor_TandemJunctions.h:33:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
ReadBlockProcessor_TandemJunctions.h:34:5: error: ‘uint32_t’ does not name a type
   34 |     uint32_t end2;
      |     ^~~~~~~~
ReadBlockProcessor_TandemJunctions.h:34:5: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
alexchwong commented 10 months ago

Thanks @pekkarr, I will integrate this into the upcoming versions soon.