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 compilation with gcc14 #7036

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

Commits on Oct 6, 2024

  1. Fix compilation with gcc14

    Compilation using GCC-14 on Ubuntu 24.10 yelds warning (turned into the
    error by -Werror):
    
    src/clipper2/Clipper2Lib/include/clipper2/clipper.core.h:117:26: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
      117 |         explicit Point<T>(const Point<T2>& p) { Init(p.x, p.y); }
          |                          ^
    
    Some details why C++ behaves this way could be found at https://eel.is/c++draft/diff.cpp17.class#2
    buzzhuzz committed Oct 6, 2024
    Configuration menu
    Copy the full SHA
    bd0f4f4 View commit details
    Browse the repository at this point in the history