Has this been fixed in more recent drafts than N1830.pdf?
C:\gfortran\clf\opengl3>type note12_15.f90
module m1
implicit none
ABSTRACT INTERFACE
FUNCTION REAL_FUNC (X)
REAL, INTENT (IN) :: X
REAL :: REAL_FUNC
END FUNCTION REAL_FUNC
END INTERFACE
INTERFACE
SUBROUTINE SUB (X)
REAL, INTENT (IN) :: X
END SUBROUTINE SUB
END INTERFACE
!-- Some external or dummy procedures with explicit interface.
PROCEDURE (REAL_FUNC) :: BESSEL, GFUN
PROCEDURE (SUB) :: PRINT_REAL
!-- Some procedure pointers with explicit interface,
!-- one initialized to NULL().
PROCEDURE (REAL_FUNC), POINTER :: P, R => NULL()
PROCEDURE (REAL_FUNC), POINTER :: PTR_TO_GFUN
!-- A derived type with a procedure pointer component ...
TYPE STRUCT_TYPE
PROCEDURE (REAL_FUNC), POINTER :: COMPONENT
! Should be:
! PROCEDURE (REAL_FUNC), POINTER, NOPASS :: COMPONENT
!
END TYPE STRUCT_TYPE
!-- ... and a variable of that type.
TYPE(STRUCT_TYPE) :: STRUCT
!-- An external or dummy function with implicit interface
PROCEDURE (REAL) :: PSI
end module m1
C:\gfortran\clf\opengl3>gfortran -c note12_15.f90
note12_15.f90:23.49:
PROCEDURE (REAL_FUNC), POINTER :: COMPONENT
1
Error: Argument 'x' of 'component' with PASS(x) at (1) must be of the
derived ty
pe 'struct_type'
Also in Note 11.13,
"A module and its submodules stand in a tree-like relationship one
to another, with the module at the root. Therefore, a submodule has
exactly one ancestor module and may optionally have one or more
ancestor submodules."
^^^^^^^^ :)
--
write(*,*) transfer((/17.392111325966148d0,6.5794487871554595D-85, &
6.0134700243160014d-154/),(/'x'/)); end
|
|
0
|
|
|
|
Reply
|
not_valid (1681)
|
1/19/2011 7:52:15 AM |
|
|
0 Replies
87 Views
(page loaded in 0.152 seconds)
Similiar Articles: Proc Gplot (notes and warnings) - comp.soft-sys.sasNOTE: The axis frame outline was drawn with line width 2 as specified on the ... 12/24/2009 5:15:00 PM Do you know where there are Teletype machines for sale? [Telecom ...On Dec 15, 12:03 am, tlvp <mPiOsUcB.EtLlL...@att.net> wrote: > The question is ... ***** Moderator's Note ***** During the 1960's my uncle was flying a surplus Cessna ... HP 41 Digital Cassette Drive on eBay - comp.sys.hp48Hi folks, For the HP41 fans amongst you, just a short note to let you know I'm ... 12/15/2003 8:43:53 PM NTP Leap Seconds Indicator - comp.protocols.time.ntpNote that there was no autokey enabled. We noted that the control box did not clear ... 12/18/2008 9:12:15 PM invalid data error - comp.soft-sys.sas... DATUM_ENDE_KUENDFRIST date9.; cards; 5.50203E+11 632001926 2/15/2010 11/15/2009 12 100 ... > NOTE: Invalid data for DATUM_ENDE_KUENDFRIST in line 7 1-63. > NOTE: Invalid data ... NOTE YU folk i zabavne muzike - comp.music.midi... 1/12/2004 9:39:27 PM : comp.music.midi 2985 articles. 15 followers. ... NOTE YU folk i zabavne muzike - comp.music.midi NOTE YU ... Converting FFT to inverse-FFT - comp.dspI've had a quick look round the 'net, and the most I've found was a quick note ... On 15 Dec 2009 12:46:41 GMT, Philip Pemberton <usenet09@philpem.me.uk> wrote: >How ... Software Synth Comparisons? - comp.music.midiOn Sun, 12 Dec 2004 15:14:57 -0800, " MS" <ms@nospam.com> wrote: >I'm ... "Note Jam" <notejam@aol.com> wrote in message news:20041212193515.15969.00001824 ... syntax for creating array of cell arrays - comp.soft-sys.matlab ...On 10-11-15 02:20 PM, Naor Movshovitz wrote: > This might be simple and ... actors = struct('globalPose', repmat({zeros(1,12)},1,nbActors)); Note, though, that this ... checkboxes in word documents - comp.soft-sys.matlab... 7/15/2010 12:04:05 PM ... % Some sample code % note: before running, create a word document with a check box ... A 60-day, 12% note received from a customer for $50,000, dated May ...A 60-day, 12% note received from a customer for $50,000, dated May 15, is endorsed to the bank on May 25, and? GENERAL NOTES; GENERAL RULES OF INTERPRETATION;General Note 12 North American Free Trade Agreement . General Note 13 Pharmaceutical Products . General Note 14 Intermediate Chemicals for Dyes . General Note 15 Exclusions 7/14/2012 8:57:36 AM
|