gFortran problem compiling complex character strings
Colin Tuckley
colin@tuckley.org
Fri Dec 14 08:53:00 GMT 2007
I'm currently trying to build libhdf4 on armel with gfortran.
colin@muscat:~$ gfortran --version
GNU Fortran (GCC) 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)
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?
regards,
Colin
--
Colin Tuckley | +44(0)1903 236872 | PGP/GnuPG Key Id
Debian Developer | +44(0)7799 143369 | 0x1B3045CE
"Energize!" said Picard and the pink bunny appeared...
More information about the Gcc-help
mailing list