Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build failure with gcc-13 #169

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emollier
Copy link

Attempting to build ivar up to version 1.4.1 with Gcc 13 will result with the following errors:

primer_bed.h:13:3: error: ‘uint32_t’ does not name a type
   13 |   uint32_t start;  // 0 based
      |   ^~~~~~~~
primer_bed.h:6:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    5 | #include <vector>
  +++ |+#include <cstdint>
    6 |
[…]
parse_gff.h:47:3: error: ‘uint64_t’ does not name a type
   47 |   uint64_t get_start();
      |   ^~~~~~~~
parse_gff.h:6:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    5 | #include <regex>
  +++ |+#include <cstdint>
    6 | #include <sstream>

Per the hints, this patch will resolve the build problem with the newer compiler version. This problem has been initially reported in Debian Bug#1037700.

Attempting to build ivar up to version 1.4.1 with Gcc 13 will result
with the following errors:

	primer_bed.h:13:3: error: ‘uint32_t’ does not name a type
	   13 |   uint32_t start;  // 0 based
	      |   ^~~~~~~~
	primer_bed.h:6:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
	    5 | #include <vector>
	  +++ |+#include <cstdint>
	    6 |
	[…]
	parse_gff.h:47:3: error: ‘uint64_t’ does not name a type
	   47 |   uint64_t get_start();
	      |   ^~~~~~~~
	parse_gff.h:6:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
	    5 | #include <regex>
	  +++ |+#include <cstdint>
	    6 | #include <sstream>

Per the hints, this patch will resolve the build problem with the
newer compiler version.  This problem has been initially reported in
[Debian Bug#1037700].

[Debian Bug#1037700]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037700

Signed-off-by: Étienne Mollier <emollier@debian.org>
@emollier
Copy link
Author

Hm, I seem to have mistyped the version number. I was of course referring to ivar up to version 1.4.2. :)

@the-pawel-wojcik
Copy link

Addresses this issue #182

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

Successfully merging this pull request may close these issues.

2 participants