View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013562CMakeCMakepublic2012-09-28 16:252016-06-10 14:31
ReporterDave Abrahams 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0013562: Incorrect Makefiles generated for paths containing '#'
DescriptionCMake needs to escape literal '#'s with backslashes in rules, *but not in commands*:

foo\#\#bar.o : foo\#\#bar.c
        cc -c "foo##bar.c" -o "foo##bar.o"
Steps To ReproduceTry building the enclosed
TagsNo tags attached.
Attached Filesgz file icon bug.tar.gz [^] (447 bytes) 2012-09-28 16:25

 Relationships
related to 0013467closedKitware Robot Bug when $ is in the directory path 
has duplicate 0014745closed Can't build a project if build directory contains '#' character, i.e. "issue#6" 
related to 0013703closedKitware Robot Paths with | character create invalid Makefiles 
related to 0015285closed Cannot escape "#" in add_compile_options 
related to 0015070closedBrad King CMake doesn't escape # properly in add_compile_options with Makefile generator 

  Notes
(0031111)
Brad King (manager)
2012-09-28 16:33

Both this and issue 0013467 require some internal sweeps to distinguish various escaping contexts more cleanly.
(0031606)
Brad King (manager)
2012-11-19 08:06

Issues 0013467, 0013562, and 0013703 all require sweeping internal API cleanup to track escaping contexts better.
(0042126)
Kitware Robot (administrator)
2016-06-10 14:28

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.

 Issue History
Date Modified Username Field Change
2012-09-28 16:25 Dave Abrahams New Issue
2012-09-28 16:25 Dave Abrahams File Added: bug.tar.gz
2012-09-28 16:31 Brad King Relationship added related to 0013467
2012-09-28 16:33 Brad King Note Added: 0031111
2012-11-19 08:02 Brad King Relationship added related to 0013703
2012-11-19 08:03 Brad King Status new => backlog
2012-11-19 08:06 Brad King Note Added: 0031606
2014-02-10 10:12 Brad King Relationship added has duplicate 0014745
2014-12-04 14:44 Brad King Relationship added related to 0015285
2014-12-04 14:48 Brad King Relationship added related to 0015070
2016-06-10 14:28 Kitware Robot Note Added: 0042126
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team