Skip to content

filterBam: include missing header for gcc15#431

Open
parona-source wants to merge 1 commit intoGaius-Augustus:masterfrom
parona-source:gcc-15
Open

filterBam: include missing header for gcc15#431
parona-source wants to merge 1 commit intoGaius-Augustus:masterfrom
parona-source:gcc-15

Conversation

@parona-source
Copy link
Copy Markdown

x86_64-pc-linux-gnu-g++  -Wall -Wextra -Wpedantic -std=c++11 -O3 -O2 -pipe -march=native -fno-diagnostics-color -I./headers -I/usr/include/bamtools  -c filterBam.cc
In file included from ./headers/filterBam.h:10,
                 from filterBam.cc:28:
./headers/bamaccess.hh:76:13: error: ‘uint32_t’ does not name a type
   76 |     virtual uint32_t countEqualSignsInQuerySequence() const = 0;
      |             ^~~~~~~~
./headers/bamaccess.hh:10:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
    9 | #include <memory>
  +++ |+#include <cstdint>
   10 | 
./headers/bamaccess.hh:84:13: error: ‘uint32_t’ does not name a type
   84 |     virtual uint32_t countCigarOperations(const char& type) const = 0;
      |             ^~~~~~~~

https://gcc.gnu.org/gcc-15/porting_to.html#header-dep-changes

Bug: https://bugs.gentoo.org/949617

Bug: https://bugs.gentoo.org/949617
Signed-off-by: Alfred Wingate <parona@protonmail.com>
@satta
Copy link
Copy Markdown
Contributor

satta commented Mar 23, 2025

Seconded, I just added this patch to the Debian packaging to enable compilation with GCC 15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants