unterminated character constant error
Kamaraju S Kusumanchi
kamaraju@bluebottle.com
Mon Dec 17 07:27:00 GMT 2007
This has recently been brought up on Debian mailing list while making a
transition from g77 to gfortran of libhdf4 package. I am not very familiar
with F77, so I thought I would ask here if this is a bug in gfortran.
Consider the attached code (test case is reduced as much as possible)
$g77 -c test_file.f
$gfortran -c test_file.f
test_file.f:4.20:
print *, 'Try one of "Skip", "Test", "Verbosity" or "Cleanup"
1
Error: Unterminated character constant beginning at (1)
$g77 -v
Reading specs from /usr/lib/gcc/i486-linux-gnu/3.4.6/specs
Configured
with: ../src/configure -v --enable-languages=c,c++,f77,pascal --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --with-tune=i686
i486-linux-gnu
Thread model: posix
gcc version 3.4.6 (Debian 3.4.6-6)
$gfortran -v
Using built-in specs.
Target: i486-linux-gnu
Configured
with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)
thanks
raju
--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test_file.f
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20071217/c08f9548/attachment.ksh>
More information about the Fortran
mailing list