SoC fortran procedure pointers

Janus Weil jaydub66@googlemail.com
Tue Jun 19 16:11:00 GMT 2007


Hi Paul,
I've been looking through your patch for procedure pointers and have
been playing around with it a little. You said it already works for
procedure declarations and abstract interfaces. But when I try to
compile your test program, I get the following error:

test_procedure.f90:27.22:

integer function a (x)
                     1
Error: EXTERNAL attribute conflicts with FUNCTION attribute in 'a' at (1)


Did you also get similar errors or can you tell me what this error means?
I attached the patch I used, which is basically yours patched against
trunk revision 125790, and the test program.
Cheers,
Janus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_procedure.f90
Type: text/x-fortran
Size: 483 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070619/46a1cc5e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pppatch125790.diff
Type: text/x-patch
Size: 18103 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070619/46a1cc5e/attachment-0001.bin>


More information about the Fortran mailing list