I've attached a very small example that exposes a bug in 14.0.3 and 15.0.2. In the example, a module declares a derived type and a F2003 structure constructor for it. In a later procedure the module is USEd and the type referenced, but the compiler complains incorrectly that the type is not known. The error goes away if the structure constructor is not defined.
↧