This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/38351] poor error message



------- Comment #1 from burnus at gcc dot gnu dot org  2008-12-01 16:48 -------
    The best message other compilers had are:

    a) NAG f95:
    Error: fgjf.f90, line 15: No specific match for reference to operator +
    Error: fgjf.f90, line 15: Incompatible data types for the + operator

    b) openf95:
    openf95-380 openf95: ERROR MAIN__, File = fgjf.f90, Line = 15, Column = 4
      No specific match to the defined generic operation "+" can be found.

    All others, including ifort and Lahey have less useful messages such as
(Lahey):
      2104-S: "SOURCE.F90", line 15, column 4: Combination of operand types
invalid.
    Admittedly, the message of gfortran - while essentially the same - is less
helpful has the mentioning of the TYPEs is misleading.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38351


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]