Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] GNU Fortran error parsing

Hi all,

I have a problem with the Photran Error Parser for GNU Fortran (gfortran): Error and warning messages have always a wrong resource (project name instead of file name) and a wrong location (column # instead of line #), so it is not possible to click on it to get to the line of code. For example:

src/SA/s3.f:8647:42: Error: Symbol 'kk' at (1) has no IMPLICIT type    test-proj    line 42
src/DYN/dyn.f:1464:72: Warning: Obsolescent feature: Arithmetic IF statement at (1)    test-proj    line 72

I am using:
Fedora 26
GNU Fortran (GCC) 7.1.1 20170622 (Red Hat 7.1.1-3)
Eclipse Oxygen 4.7
  PTP Fortran Support    9.1.2.201705091731    org.eclipse.ptp.fortran.feature.group    Eclipse PTP
    Fortran Development Tools (Photran)    9.1.1.201612062125    org.eclipse.photran.feature.group    Eclipse PTP
      C/C++ Development Tools    9.3.0.201706122201    org.eclipse.cdt.feature.group    Eclipse CDT

I would be grateful for any suggestions. GNU Fortran errors/warnings are multi-line so there is little possibility for defining an own error parser in the preferences.

Best regards,

Petr Parik


Back to the top