From Fedora Project Wiki
(Start adding build errors)
Line 35: Line 35:


"void" rather than implicit "int"; TODO: get chapter-and-verse for this
"void" rather than implicit "int"; TODO: get chapter-and-verse for this
Examples:
* [https://bugzilla.redhat.com/show_bug.cgi?id=2331208 rhbz#2331208] epson-inkjet-printer-escpr fails to build with GCC 15 (implicit int param in function prototype)

Revision as of 18:52, 9 December 2024

GCC 15 mass prebuild

These are notes to myself on my attempts to use mass-prebuilder to test GCC 15 in Fedora in December 2024

Current status

libtool can't be installed

Problem: cannot install both gcc-15.0.0-0.2.fc42.aarch64 from https_dmalcolm_fedorapeople_org_gcc_gcc_15_mass_prebuild_arch and gcc-14.2.1-6.fc42.aarch64 from fedora
  - package libtool-2.5.4-1.fc42.aarch64 from fedora requires gcc(major) = 14, but none of the providers can be installed
  - cannot install the best candidate for the job
  - conflicting requests
You can try to add to command line:
  --no-best to not limit the transaction to the best candidates

Copr build error: Build failed

Function prototypes with empty params change from implicit "int" to "void"

GCC 15 defaults to C23, in which I believe that

extern int foo();

in a decl now means

extern int foo(void);

rather than:

extern int foo(int)

"void" rather than implicit "int"; TODO: get chapter-and-verse for this

Examples:

  • rhbz#2331208 epson-inkjet-printer-escpr fails to build with GCC 15 (implicit int param in function prototype)