The report for reference: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84885
But shouldn't it be: character(kind=c_char) :: c(10) to map 1:1 to C language definition: char c[10]; ? Aren't we exploiting here some non-documented GNU Fortran feature? Jaroslav, OK2JRQ ----- Original Message ----- > I've been able to reproduce this on a small example with 8.0.1 and have > submitted a bug report. > This fails to compile with 8.0.1 but does compile with pre 8.0 compilers > It only shows the error when the character declaration is inside a type > block. > > subroutine foo(i,c) > use, intrinsic :: iso_c_binding, only: c_char > integer i > type, bind(C) :: params_block > character(kind=c_char,len=10) :: c > end type params_block > write(*,*) 'X',c,'Z' > end > > de Mike W9MDB > > On Thursday, March 15, 2018, 6:09:27 AM CDT, Jaroslav Skarvada > <jskar...@redhat.com> wrote: > > > Hi, > > with gfortran 8.0.1 the compilation of wsjtx fails with the following error: > > make[2]: Leaving directory > '/builddir/build/BUILD/wsjtx-1.9.0-rc2/wsjtx/build' > jt9com.f90:44:47: > > Error: Component 'datetime' of BIND(C) type at (1) must have length one > jt9com.f90:45:45: > > Error: Component 'mycall' of BIND(C) type at (1) must have length one > jt9com.f90:46:44: > > Error: Component 'mygrid' of BIND(C) type at (1) must have length one > jt9com.f90:47:46: > > Error: Component 'hiscall' of BIND(C) type at (1) must have length one > jt9com.f90:48:45: > > Error: Component 'hisgrid' of BIND(C) type at (1) must have length one > > I tried various combination of -std=, but it didnt' help > > thanks & regards > > Jaroslav > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > wsjt-devel mailing list > wsjt-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wsjt-devel > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > wsjt-devel mailing list > wsjt-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wsjt-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ wsjt-devel mailing list wsjt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wsjt-devel