[CMake] Fortan interface bug

Maik Beckmann maikbeckmann at gmx.de
Tue Oct 9 11:32:19 EDT 2007


Am Dienstag, 9. Oktober 2007 16:10:26 schrieb Alin M Elena:
> Hi,
>
> I get  the following error using the cvs version of cmake (9th of October
> 2007).
> Compilers tested
> ifort version 10.0
> gfortran version 4.1.2
>
> [ 50%] Building Fortran object CMakeFiles/hello.dir/Source/test_mod.o
> Error copying Fortran module "procedure".  Tried "PROCEDURE.mod"
> and "procedure.mod".
> make[3]: *** [CMakeFiles/hello.dir/Source/test_mod.o.provides.build] Error
> 1
>
> I put in the attach the files that replicate the error.
>
> Alin
>
> P.S. Compiling it manually everything goes ok.

This is indeed a bug.  The parser doesn't get that "module procedure" is 
inside an interface.  Since I changed the parser lately I'm the one to 
blame :o)

Thank you for pointing this out Alin, I will add a test for this and try to 
rid of this bug.

Regards, Maik


More information about the CMake mailing list