MantisBT - CMake
View Issue Details
0011109CMakeCMakepublic2010-08-11 05:002016-06-10 14:21
Mathieu Malaterre 
Brad King 
normalminoralways
closedfixed 
 
CMake 3.5CMake 3.5 
0011109: CMake Error: Parse error in cache file /home/mathieu/Perso/gdcm/debug-gcc/CMakeCache.txt. Offending entry:
When you have something like that in the cmake cache:

// comment 1

// comment 2
value:BOOL=ON

cmake will report an issue such as:

CMake Error: Parse error in cache file /home/mathieu/Perso/gdcm/debug-gcc/CMakeCache.txt. Offending entry:

without the line number, this is pretty much useless. I would be nice if cmake would also report the line number with the offending entry.

Thanks
No tags attached.
Issue History
2010-08-11 05:00Mathieu MalaterreNew Issue
2010-12-15 11:17David ColeAssigned To => Brad King
2010-12-15 11:17David ColeStatusnew => assigned
2012-08-13 10:37Brad KingStatusassigned => backlog
2012-08-13 10:37Brad KingNote Added: 0030523
2016-01-17 17:13Ashley WhetterNote Added: 0040253
2016-01-19 10:41Brad KingNote Added: 0040262
2016-01-19 10:41Brad KingStatusbacklog => resolved
2016-01-19 10:41Brad KingResolutionopen => fixed
2016-01-19 10:41Brad KingFixed in Version => CMake 3.5
2016-01-19 10:41Brad KingTarget Version => CMake 3.5
2016-06-10 14:21Kitware RobotNote Added: 0041285
2016-06-10 14:21Kitware RobotStatusresolved => closed

Notes
(0030523)
Brad King   
2012-08-13 10:37   
Sending issues I'm not actively working on to the backlog to await someone with time for them.

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it:

 http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer or contributor who has the bandwidth to take it on.
(0040253)
Ashley Whetter   
2016-01-17 17:13   
I've submitted a patch for this: http://public.kitware.com/pipermail/cmake-developers/2016-January/027497.html [^]
(0040262)
Brad King   
2016-01-19 10:41   
Patch from 0011109:0040253 applied here:

 Print line number of cache parse errors
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=77cd74a3 [^]

Thanks!
(0041285)
Kitware Robot   
2016-06-10 14:21   
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.