On 23.09.21 23:01, Harald Anlauf via Fortran wrote:

compiled with -cpp gives:

pr55534-play.f90:4:2:

    4 |   type t
      |  1~~~~~~
Fatal Error: no/such/file.inc: No such file or directory
compilation terminated.

If you have an easy solution for that one,

David has an easy but hackish solution, cf. https://gcc.gnu.org/PR100904

That's a GCC 7 regression, which also affects C/C++ but only when
compiling with -traditional-cpp, which gfortran does by default but
gcc/g++ don't.

Tobias

-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 
München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas 
Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht 
München, HRB 106955

Reply via email to