View Issue Details

IDProjectCategoryView StatusLast Update
0003372Slicer4Core: Building (CMake, Superbuild)public2014-03-06 10:16
Reporterpieper Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.4.0Fixed in VersionSlicer 4.4.0 
Summary0003372: warnings compiling python scripts in cmake
Description

This message is generated repeatedly during the configuration step on Mac OS 10.8.4 and Xcode 4.6.3 with the current 'next' branch of cmake (cmake version 2.8.11.20130831-g7a9a8).

CMake Warning (dev) at /Users/pieper/slicer4/latest/Slicer/CMake/SlicerMacroPythonWrapModuleVTKLibrary.cmake:97 (include):
Syntax Warning in cmake code at

/Users/pieper/slicer4/latest/Slicer-superbuild/CTK/CMake/ctkMacroCompilePythonScript.cmake:226:29

Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
/Users/pieper/slicer4/latest/Slicer/CMake/SlicerMacroBuildModuleLogic.cmake:117 (SlicerMacroPythonWrapModuleVTKLibrary)
/Users/pieper/slicer4/latest/Slicer-superbuild/MultiVolumeExplorer/Logic/CMakeLists.txt:31 (SlicerMacroBuildModuleLogic)
This warning is for project developers. Use -Wno-dev to suppress it.

TagsNo tags attached.

Activities

gregsharp

gregsharp

2013-11-21 17:57

developer   ~0010359

Also reproduced on debian linux.

Problem is (apparently) due to incorrect double quote escaping.
Here is the excerpt:

Generate compile_${target}_python_scripts.py

file(WRITE \"@compile_all_script@\" \"
<...snip...>
print "Sorry", e

By analogy, I suppose the following might have been intended:

            print \\\&quot;Sorry\\\&quot;, e

But honestly I don't understand the logic well enough to comment further.

jcfr

jcfr

2014-01-05 04:16

administrator   ~0010478

Fixed by r22794
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;revision=22794

Issue History

Date Modified Username Field Change
2013-09-04 15:53 pieper New Issue
2013-09-04 15:53 pieper Status new => assigned
2013-09-04 15:53 pieper Assigned To => jcfr
2013-09-04 19:00 jcfr Target Version => Slicer 4.3.1
2013-09-24 11:16 jcfr Target Version Slicer 4.3.1 => Slicer 4.3.2
2013-11-21 17:57 gregsharp Note Added: 0010359
2014-01-05 04:16 jcfr Note Added: 0010478
2014-01-05 04:16 jcfr Status assigned => resolved
2014-01-05 04:16 jcfr Fixed in Version => Slicer 4.4.0
2014-01-05 04:16 jcfr Resolution open => fixed
2014-01-05 07:17 pieper Status resolved => closed
2014-03-06 10:16 nicole Target Version Slicer 4.3.2 => Slicer 4.4.0