Skip to content

ROOT doesn't compile with gcc-15 #17444

@hageboeck

Description

@hageboeck

Check duplicate issues.

  • Checked for duplicates

Description

Starting from gcc-15, <cstdint> needs to be included when fixed-size integer types are used.
See also:
https://bugs.gentoo.org/942438

In ROOT, there is currently four places that create problems:

What could be the solutions to make ROOT compile cleanly?

  1. Wait until the llvm upgrade?
  2. Patch llvm ourselves until the upgrade?
  3. Pull in already now the commits from llvm-main? (the latter doesn't apply, though)

@devajithvs @hahnjo @amadio

Reproducer

Compile ROOT with gcc-15

ROOT version

Master, but also 6.34, 6.32 as can be seen in the gentoo bug report

Installation method

Source

Operating system

Gentoo

Additional context

No response

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions