Skip to content

lto-type-mismatch: type of ... does not match original declaration

I am forwarding Gentoo CI complains for lto optimization here (gcc-15):

type of hepevt_ does not match original declaration 

See: https://bugs.gentoo.org/941937

type of hepmc3_new_writer does not match original declaration

See: https://bugs.gentoo.org/941936

I can disable/prohibit lto optimization for hepmc in gentoo, but maybe HepMC wants to fix it in their upstream?

Edited by Alexander Puck Neuwirth