------- Comment #2 from burnus at gcc dot gnu dot org  2006-11-27 13:02 -------
Confirm.

Currently, the two interfaces clash:
  MODULE PROCEDURE foo_init_default
  SUBROUTINE foo_init_default(this)
The latter needs to be "contains"ed in the module not put into an interface.

 * * *

Error message from NAG f95:
  SUBROUTINE foo_init_default(this)
             ^
"afdf.f90", Line = 15, Column = 14: ERROR: "FOO_INIT_DEFAULT" is a
module-subprogram, therefore it must not be a subroutine in an interface block.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-11-27 13:02:51
               date|                            |


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

Reply via email to