[ET Trac] #2571: runtime failure due to useing character*8 in DECLARE_CCTK_ARGUMENTS_CHECKED macro
Roland Haas
trac-noreply at einsteintoolkit.org
Thu Oct 21 14:05:04 CDT 2021
#2571: runtime failure due to useing character*8 in DECLARE_CCTK_ARGUMENTS_CHECKED macro
Reporter: Roland Haas
Status: new
Milestone:
Version: development version
Type: bug
Priority: major
Component: Cactus
Comment (by Roland Haas):
Something like this would work:
```fortran
type inaccessible
integer :: dummy
end type
type(inaccessible), intent(IN):: alp
integer, parameter :: cctki_use_alp = kind(alp%dummy)
```
Trying to access it via eg `foo = alp` produces an error:
> `Error: Cannot convert TYPE(inaccessible) to INTEGER(4) at (1)`
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2571/runtime-failure-due-to-useing-character-8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20211021/c3790af1/attachment.html
More information about the Trac
mailing list