View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003109 | CMake | CMake | public | 2006-04-07 09:36 | 2007-10-03 15:54 | ||||
Reporter | Samit Basu | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003109: Fortran dependancy checker does not ignore comments | ||||||||
Description | The following simple test fails because the dependancy checker fails to ignore the "use funstuff" in ftest.f (which occurs in a comment). The work-around is to change the wording of comments to avoid the word "use". ftest.f: program main C use funstuff end CMakeLists.txt project(ftest Fortran) add_executable(ftest ftest.f) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||||||||||||
|
Relationships |
Notes | |
(0004053) Brad King (manager) 2006-05-03 18:28 |
Bug 0003195 is a duplicate of this bug. |
(0004056) Brad King (manager) 2006-05-03 19:45 |
The bug is in "Source/cmDependsFortranLexer.in.l" or a related file. Nothing ever tells the lexer whether it is parsing a free for fixed format source. Currently free format is assumed always. It looks like there is a new version of makedepf90 from which the parser was derived (with permission from the author to use a non-GPL license). The newer version has better support for switching between fixed and free format. The parser in CMake should probably be updated when this bug is fixed. |
(0004646) Brad King (manager) 2006-08-15 11:03 |
I'm assigning this bug to Bill since he committed changes to fix the issue: Checking for path: /cvsroot/CMake/CMake/Source Unrestricted user: hoffman /cvsroot/CMake/CMake/Source/cmDependsFortranLexer.cxx,v <-- cmDependsFortranLexer.cxx new revision: 1.8; previous revision: 1.7 /cvsroot/CMake/CMake/Source/cmDependsFortranLexer.h,v <-- cmDependsFortranLexer.h new revision: 1.4; previous revision: 1.3 /cvsroot/CMake/CMake/Source/cmDependsFortranLexer.in.l,v <-- cmDependsFortranLexer.in.l new revision: 1.8; previous revision: 1.7 |
(0009375) Brad King (manager) 2007-10-03 15:54 |
The "makedepf90-2.8.8_port_cm-2.4.7.patch" patch from bug 0005809 has been committed. The changes fix this bug in cmake HEAD. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2007-10-03 15:46 | Brad King | Relationship added | related to 0005809 |
2007-10-03 15:47 | Brad King | Relationship added | has duplicate 0003195 |
2007-10-03 15:49 | Brad King | Relationship added | has duplicate 0002361 |
2007-10-03 15:54 | Brad King | Status | assigned => closed |
2007-10-03 15:54 | Brad King | Note Added: 0009375 | |
2007-10-03 15:54 | Brad King | Resolution | open => fixed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |