View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014547 | CMake | CMake | public | 2013-11-06 07:40 | 2016-06-10 14:31 | ||||
Reporter | Hajime Yoshimori | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 2.8.12 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014547: Unix Makefile generator won't escape '#' | ||||||||
Description | The Unix Makefile generator won't escape '#' which is appeared in names of dependent files. If we have a header file named like "P#HEADER", CMake dependency generator will output the name without escaping. Then it will occurs a dependency error because there is not a file named like "P". | ||||||||
Steps To Reproduce | (This test case requires FORTRAN compiler.) 1. Extract "test-case.tar.gz" 2. cd to "test" 3. make directory "build" 4. cd to "build" 5. cmake .. -G 'Unix Makefiles' 6. make Outputs following: (Using GNU Make) make[2]: *** No rule to make target `../P', needed by `CMakeFiles/A.dir/A.F.o'. Stop. Outputs following: (Using Solaris Make) make: Fatal error in reader: CMakeFiles/A.dir/depend.make, line 4: Unexpected comment seen | ||||||||
Additional Information | It also occurs in any place where user inputted (target names, compile options, additional library names, and so on). | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | test-case.tar.gz [^] (401 bytes) 2013-11-06 07:40 | ||||||||
Relationships | |||||||||||
|
Relationships |
Notes | |
(0038806) Jesper Mattsson (reporter) 2015-05-27 09:07 |
Same problem applies to '$' as well, e.g. when a source file contains '#include "file$name.h"'. |
(0042413) Kitware Robot (administrator) 2016-06-10 14:29 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-11-06 07:40 | Hajime Yoshimori | New Issue | |
2013-11-06 07:40 | Hajime Yoshimori | File Added: test-case.tar.gz | |
2014-12-04 14:44 | Brad King | Relationship added | related to 0015285 |
2014-12-04 14:48 | Brad King | Relationship added | related to 0015070 |
2015-05-27 09:07 | Jesper Mattsson | Note Added: 0038806 | |
2016-06-10 14:29 | Kitware Robot | Note Added: 0042413 | |
2016-06-10 14:29 | Kitware Robot | Status | new => resolved |
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved |
2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot |
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |