It would be nice to have an option for gfortran that emits a warning when an 
undeclared function or subroutine is called.  This would be similar to 
-Wimplicit-interface, except that this new warning would also accept 
non-explicit interfaces.  For example, the fragment 
 
external a 
call a 
 
leads to a warning with -Wimplicit-interface, but I would like to get no 
warning for this construct.

-- 
           Summary: Would like warning when an undeclared function is called
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schnetter at aei dot mpg dot de
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to