MantisBT - CMake
View Issue Details
0014441CMakeCMakepublic2013-09-25 17:192014-03-05 09:58
Jean-Christophe Fillion-Robin 
 
normalminoralways
closedwon't fix 
 
 
0014441: CMake 2.8.12-rc3 - Warning: Argument not separated from preceding token by whitespace.

CMake Warning (dev) in Modules/ThirdParty/NIFTI/src/nifti/CMakeLists.txt:
  Syntax Warning in cmake code at

    /Volumes/Dashboards/Experimental/Slicer-Superbuild-Release-cmake-2.8.11.20130831-g7a9a8/ITKv4/Modules/ThirdParty/NIFTI/src/nifti/CMakeLists.txt:103:38

  Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in Modules/ThirdParty/NIFTI/src/nifti/CMakeLists.txt:
  Syntax Warning in cmake code at

    /Volumes/Dashboards/Experimental/Slicer-Superbuild-Release-cmake-2.8.11.20130831-g7a9a8/ITKv4/Modules/ThirdParty/NIFTI/src/nifti/CMakeLists.txt:103:39

  Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.



The lines source of the problem are


set(CPACK_PACKAGE_EXECUTABLES "NIFTI";"A program for registering medical
images with mutual information.")
No tags attached.
Issue History
2013-09-25 17:19Jean-Christophe Fillion-RobinNew Issue
2013-09-25 17:23Jean-Christophe Fillion-RobinNote Added: 0033893
2013-09-26 08:13Brad KingNote Added: 0033895
2013-09-26 08:13Brad KingStatusnew => resolved
2013-09-26 08:13Brad KingResolutionopen => won't fix
2013-09-26 08:13Brad KingDescription Updatedbug_revision_view_page.php?rev_id=1265#r1265
2014-03-05 09:58Robert MaynardNote Added: 0035269
2014-03-05 09:58Robert MaynardStatusresolved => closed

Notes
(0033893)
Jean-Christophe Fillion-Robin   
2013-09-25 17:23   
Just realized a copy/pasted the output associated with a older version of CMake ... here is the output associated with the release candidate:

CMake Warning (dev) in Modules/ThirdParty/NIFTI/src/nifti/CMakeLists.txt:
  Syntax Warning in cmake code at

    /Volumes/Dashboards/Experimental/Slicer-Superbuild-Release-cmake-2.8.12-rc3/ITKv4/Modules/ThirdParty/NIFTI/src/nifti/CMakeLists.txt:103:38

  Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) in Modules/ThirdParty/NIFTI/src/nifti/CMakeLists.txt:
  Syntax Warning in cmake code at

    /Volumes/Dashboards/Experimental/Slicer-Superbuild-Release-cmake-2.8.12-rc3/ITKv4/Modules/ThirdParty/NIFTI/src/nifti/CMakeLists.txt:103:39

  Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
(0033895)
Brad King   
2013-09-26 08:13   
This is completely intentional. We never intended to allow quoted arguments to be immediately followed by other arguments without separation but accidentally allowed it in the lexer. Now we diagnose and warn on the case. The code should be fixed.

(0035269)
Robert Maynard   
2014-03-05 09:58   
Closing resolved issues that have not been updated in more than 4 months