MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013239 | CMake | CMake | public | 2012-05-21 11:09 | 2012-10-01 13:23 |
Reporter | C.M. | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | All platforms | OS | All OS | OS Version | All |
Product Version | CMake 2.8.8 | ||||
Target Version | CMake 2.8.9 | Fixed in Version | CMake 2.8.9 | ||
Summary | 0013239: 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 <>. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-05-21 11:09 | C.M. | New Issue | |||
2012-05-22 14:16 | Brad King | Note Added: 0029545 | |||
2012-05-22 14:16 | Brad King | Assigned To | => Brad King | ||
2012-05-22 14:16 | Brad King | Status | new => resolved | ||
2012-05-22 14:16 | Brad King | Resolution | open => fixed | ||
2012-05-22 14:16 | Brad King | Fixed in Version | => CMake 2.8.9 | ||
2012-05-22 14:16 | Brad King | Target Version | => CMake 2.8.9 | ||
2012-10-01 13:23 | David Cole | Note Added: 0031133 | |||
2012-10-01 13:23 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|