gFortran problem compiling complex character strings
-----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?
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...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHYZblj2OPlhswRc4RAtnIAKDKElqftIZhQJUW6/gwewYhihVRcQCfeXBH
3YfrRk9YC8Aa2jDcg1Admy8=
=XCQk
-----END PGP SIGNATURE-----
Reply to: