Package: gfortran-4.4 Version: 4.4.2-5 When compiling a test program containing only an include, the compiler does not fail when not finding the include as it should:
$ cat testinclude.f90 program testinc include 'notthere.inc' print *, 'I''m running although I shouldn''t even compile.' end program $ gfortran-4.4 -o testinclude testinclude.f90 testinclude.f90:2: Error: Can't open included file 'notthere.inc' $ echo $? 0 $ ./testinclude I'm running although I shouldn't even compile. The expected result of echo $? in the above case is of course 1 and no binary should have been produced. I tested this on amd64 with gfortran-4.4 version 4.4.2-3 and 4.4.2-5. I'm currently back to gfortran-4.3 which shows the expected behaviour: $ gfortran-4.3 -o testinclude testinclude.f90 Error: Can't open included file 'notthere.inc' $ echo $? 1 The bug is particularly annoying because it breaks many autoconf-style tests. Greetings, Thomas -- Thomas Jahns DKRZ GmbH, Department: Application software Deutsches Klimarechenzentrum Bundesstraße 55 D-20146 Hamburg Phone: +49-40-460094-151 Fax: +49-40-460094-270 Email: Thomas Jahns <ja...@dkrz.de>
smime.p7s
Description: S/MIME Cryptographic Signature