- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
[fortran]program crash implicit none class(*), pointer :: any => null() integer, target :: int = -1 any => int ! access violation (?) end program[/fortran]
This seems to be a new problem with 11.1.054. Any attempt to do anything with a CLASS(*) variable results in an access violation. This includes fundamental activities such as assigning a pointer target (see above) or calling ALLOCATED()/ASSOCIATED() with a CLASS(*) variable. This makes it impossible to use CLASS(*) variables at all.
コピーされたリンク
1 返信
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
I can reproduce the problem you describe here. It was working in Update 2 (11.1.048) but broke in Update 3 (11.1.051). It appears that we have this fixed already for the upcoming Update 5.
A workaround is to disable Diagnostics > Check Routine Interfaces. and Diagnostics > Generate Interface Blocks.
