Menu

#1545 Patch: enable GCC to parse Fortran warnings

Next_Nightly
applied
Fortran (9)
Patch
2025-09-07
2025-08-17
No

This patch proposes to enable parsing of Fortran input files from any GCC compilers.

It requires enabling multi-line output parsing, and a couple more regex formulas.

Posting here as a patch as recently suggested in the C::B forums, because it is not FortranProject-specific.

It is useful because most C/C++/Fortran projects these days use the standard gcc/g++ frontends rather than the "Gnu Fortran compiler" one that is valid for Fortran only.

Thank you,
Federico

1 Attachments

Discussion

  • Federico Perini

    Federico Perini - 2025-08-17

    Sorry I meant "parsing Fortran-related compiler warnings", not "parsing Fortran input files".

     
  • Morten MacFly

    Morten MacFly - 2025-08-24
    • status: open --> pending
    • assigned_to: Morten MacFly
     
  • Morten MacFly

    Morten MacFly - 2025-08-24

    This patch does not apply safely on SVN trunk. Could you please try again?
    Just checkout the clean to SVN/trunk head revision, apply your changes and then run:
    svn diff > my.patch
    ...on the command line.
    Thank you!

     
  • Morten MacFly

    Morten MacFly - 2025-08-24
    • labels: --> Fortran
     
  • Morten MacFly

    Morten MacFly - 2025-09-07
    • status: pending --> applied
     
  • Morten MacFly

    Morten MacFly - 2025-09-07

    Applied in SVN [r13728]
    Thank you!

     

    Related

    Commit: [r13728]


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.