Skip to content

pingus-0.7.6 fails to compile with gcc-15 #205

@pacho2

Description

@pacho2

Fedora patch fixes it:
https://src.fedoraproject.org/rpms/pingus/blob/rawhide/f/includes.patch

--- src/engine/display/font.hpp~	2011-12-24 15:46:47.000000000 -0600
+++ src/engine/display/font.hpp	2025-02-03 14:08:33.568660344 -0600
@@ -18,6 +18,7 @@
 #define HEADER_PINGUS_ENGINE_DISPLAY_FONT_HPP
 
 #include <memory>
+#include <cstdint>
 
 #include "math/rect.hpp"
 
--- src/pingus/collision_map.hpp~	2011-12-24 15:46:47.000000000 -0600
+++ src/pingus/collision_map.hpp	2025-02-03 14:18:53.845089769 -0600
@@ -18,6 +18,7 @@
 #define HEADER_PINGUS_PINGUS_COLLISION_MAP_HPP
 
 #include <memory>
+#include <cstdint>
 
 #include "engine/display/sprite.hpp"
 #include "pingus/groundtype.hpp"

Thanks a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions