martinrotter / rssguard

Feed reader (and podcast player) which supports RSS/ATOM/JSON and many web-based feed services.
GNU General Public License v3.0
1.61k stars 125 forks source link

[BUG]: fails to compile with gcc 13 #911

Closed etam closed 1 year ago

etam commented 1 year ago

Brief description of the issue

Build fails with

src/librssguard/3rd-party/mimesis/quoted-printable.cpp:30:3: error: 'uint8_t' was not declared in this scope

How to reproduce the bug?

  1. Compile

What was the expected result?

It should build.

What actually happened?

It didn't.

Debug log

-

Operating system and version

etam commented 1 year ago

Solution:

Index: rssguard-4.3.3/src/librssguard/3rd-party/mimesis/quoted-printable.cpp
===================================================================
--- rssguard-4.3.3.orig/src/librssguard/3rd-party/mimesis/quoted-printable.cpp
+++ rssguard-4.3.3/src/librssguard/3rd-party/mimesis/quoted-printable.cpp
@@ -19,6 +19,8 @@
.
 #include "quoted-printable.hpp"
.
+#include <cstdint>
+
 using namespace std;
.
 string quoted_printable_decode(string_view in) {