PR46328 - [OOP] type-bound operator call with non-trivial polymorphic operand - redux (2)
Paul Richard Thomas
paul.richard.thomas@gmail.com
Fri Dec 30 19:41:00 GMT 2011
Dear All,
Should the attached, modified version of typebound_procedure_7.f03 work?
At present, the generic association between the derived type operator
expressions and the typebound functions with class formal arguments is
not working. In consequence, it fails to link with:
/tmp/ccpyXvcK.o: In function `main':
typebound_operator_8.f90:(.text.startup+0x7f): undefined reference to
`field_op_real_'
typebound_operator_8.f90:(.text.startup+0x91): undefined reference to
`assign_field_'
typebound_operator_8.f90:(.text.startup+0xbc): undefined reference to
`field_op_real_'
typebound_operator_8.f90:(.text.startup+0xfe): undefined reference to
`field_op_real_'
typebound_operator_8.f90:(.text.startup+0x130): undefined reference to
`assign_field_'
typebound_operator_8.f90:(.text.startup+0x188): undefined reference to
`assign_field_'
typebound_operator_8.f90:(.text.startup+0x1dd): undefined reference to
`assign_field_'
collect2: error: ld returned 1 exit status
Cheers
Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typebound_operator_8.f90
Type: text/x-fortran
Size: 2743 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20111230/f2f9a67a/attachment.bin>
More information about the Fortran
mailing list