#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:
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