Skip to content

planarity source files fail to compile with -std=gnu23 #65

@alejo7797

Description

@alejo7797

GCC 15 changes the default C language version to -std=gnu23, which causes the planarity extension to not build.

The declarations in this file are an issue as per this change between standards.

This is not a big problem as one can simply pass -std=gnu17 but it would be nice to update the planarity source tree.

I was able to build and test Spherogram successfully (on Linux) with GCC 15 by replacing planarity_src/c with the c/graphLib directory from upstream, plus some tiny changes to setup.py and MANIFEST.in.

Happy to open a PR with my changes if that would be welcome, unless there were already plans to update the planarity_src directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions