Diagnostic 6618: The INTERFACE/CONTAINS stack is full. This means that modules are being 'used' in a circular way.

For more complete information about compiler optimizations, see our Optimization Notice.

Comments

's picture

I received this error while testing out intel fortran with a new fortran 2003 code. I have an abstract type with 2 abstract interfaces. I then have 2 types that extend the abstract type with almost identical coding. One of the types compiles fine, while the other doesn't.

's picture

I ran into this error trying to use procedures that should be derived from the parent type. I also found a forum post where this error was discussed (http://software.intel.com/en-us/forums/showthread.php?t=70375), I'll try to post an example code there if it is different from what is there.
I have not tried the workaround posted there (breaking the encapsulation) as I am working on a large project and this will leave many open holes to fix later when the classes are completed.