Skip to content

Compiling with GCC 15 fails #625

@chpgyr

Description

@chpgyr
  • Model: gaze17-3050
  • BIOS version: 2023-09-08_42bf7a6
  • EC version:
  • OS: Fedora Linux 42 (Workstation Edition)
  • Kernel: 6.14.9-300.fc42.x86_64

Compilation fails

./scripts/build.sh gaze17-3050

Expected behavior

Firmware shoud be compiled without any error

Actual behavior

main.c: In function 'ProcessArgs':
main.c:163:42: error: too many arguments to function 'p->process'; expected 0, have 2
  163 |                                         (*p->process)( *argv, *(argv+1) );
      |         

Additional info

gcc --version
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions