Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28612 Discussions

Problem with user defined pointer structures and modules

1 Reply
Steven_L_Intel1
Employee
292 Views


pwlivermore wrote:
Surely (a) defining identical user types in each module and (b) replacing each definition by a USE statement to a separate "definitions module" should be the same?

Well, you may think so, but the Fortran standard considers these distinct types. Your workaround is the correct solution.
0 Kudos
Reply