Skip to content

Conversation

franzs
Copy link
Contributor

@franzs franzs commented Dec 9, 2024

Description

Fedora 40 and 41 use GNU c++ version 14.2.1 which throws an error compiling OrcaSlicer:

error: template-id not allowed for constructor in C++20

To ignore this error -Wno-error=template-id-cdtor can be added to the compiler flags.

Furthermore Fedora 40 and 41 need an additional package to be installed: libquadmath-devel. On Fedora 39 this package is not needed, but it exists and does no harm.

Tests

A full compile run was carried out on these OS:

OS Version c++ -v -Wno-error=template-id-cdtor needed? libquadmath-devel needed? Compile test passed?
Fedora 41 14.2.1 20240912 (Red Hat 14.2.1-3) yes yes
Fedora 40 14.2.1 20240912 (Red Hat 14.2.1-3) yes yes
Fedora 39 13.3.1 20240913 (Red Hat 13.3.1-3) no no
Ubuntu 24.04 13.2.0 (Ubuntu 13.2.0-23ubuntu4) no N/A
Ubuntu 20.04 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) no N/A

Copy link
Collaborator

@Noisyfox Noisyfox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Noisyfox Noisyfox merged commit 8cc7a8c into SoftFever:main Dec 14, 2024
GiacomoGuaresi pushed a commit to gingeradditive/OrcaSlicer that referenced this pull request Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants