[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gFortran problem compiling complex character strings



please could you recheck with gfortran from gcc-snapshot? I'm not a
Fortran user myself, so maybe you want to ask on gcc-help@gcc.gnu.org

Colin Tuckley writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'm currently trying to build libhdf4 on armel with gfortran.
> 
> One of the test programs contains the statement:
> 
>  print *, 'Try one of "Skip", "Test", "Verbosity" or "Cleanup"'
> 
> which fails to compile giving:
> 
> gfortran -g -O2 -c fortestF.f
> fortestF.f:193.20:
> 
>            print *, 'Try one of "Skip", "Test", "Verbosity" or "Cleanup"
>                    1
> Error: Unterminated character constant beginning at (1)
> 
> 
> If I remove the double quote characters from inside the string then it
> compiles ok.
> 
> Is this a compiler error/problem? A configuration problem? or something else?



Reply to: