Skip to content

Geant3 build failed with gcc 15 #572

@YanzhaoW

Description

@YanzhaoW

Hi,

I got a compile time error when building Geant3 in FairSoft:

 /tmp/download/FairSoft/build/Source/geant3/minicern/cfopei.c:138:16: error: too many arguments to function 'fchtak'; expected 0, have 2
   138 | act:  pttext = fchtak(ftext,*lgtx);
          |                ^~~~~~ ~~~~~
 /tmp/download/FairSoft/build/Source/geant3/minicern/cfopei.c:81:22: note: declared here
     81 |       char *pttext, *fchtak();  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions