The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=13239 ====================================================================== Reported By: C.M. Assigned To: ====================================================================== Project: CMake Issue ID: 13239 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2012-05-21 11:09 EDT Last Modified: 2012-05-21 11:09 EDT ====================================================================== Summary: Not all Fortran dependencies are recognized. Description: Pre-processor dependencies in FORTRAN using include files are not recognized if specified as #include <...> which (at least for several Fortran preprocessors is a valid syntax), e.g. http://www2.fz-juelich.de/jsc/docs/vendordocs/NAGWare_f95 /html/fpp.html#INCEXTERNAL
Steps to Reproduce: Generate any Fortran file and insert an include statement #include <file> into it. Check the "*.depend" files. The include file is not listed. Using #include "file" does however list the dependency correctly. Additional Information: Reason for this behavior is the flex rule in cmDependsFortranLexer.in.l line 73-90 and 111 which allows strings only as "" or ''. Adding here a third string rule for <...> does quick fix the problem. However, one probably should create a new string type and add/change the CPP_INCLUDE parser rule in cmDependsFortranParser.y as well to not allow all strings to be <>. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-05-21 11:09 C.M. New Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers