On Wed, Jan 22, 2020 at 11:59:12AM +0100, Tobias Burnus wrote: > > And, additionally, about missing diagnostic related to (2) bind(c) and > kind=4, >
Are you sure there is a missing diagnostic? You need to add -Wc-binding-type or -Wall to your command line. subroutine p(c) bind(c) use iso_c_binding character(kind=4) c print *, c end % gfcx -Wall -c a.f90 a.f90:1:14: 1 | subroutine p(c) bind(c) | 1 Warning: Variable 'c' at (1) is a dummy argument of the BIND(C) procedure 'p' but may not be C interoperable [-Wc-binding-type] -- Steve