[cmake-developers] [CMake 0015707]: Error at: math(EXPR value "-1 + 1")

Mantis Bug Tracker mantis at public.kitware.com
Fri Aug 21 21:58:50 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=15707 
====================================================================== 
Reported By:                Daniel Levin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15707
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-08-21 21:58 EDT
Last Modified:              2015-08-21 21:58 EDT
====================================================================== 
Summary:                    Error at: math(EXPR value "-1 + 1")
Description: 
CMake cannot handle next expression:

math(EXPR value "-1 + 1")

Error output:
  math cannot parse the expression: "-1 + 1": syntax error, unexpected
  exp_MINUS, expecting exp_OPENPARENT or exp_NUMBER (1)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-08-21 21:58 Daniel Levin   New Issue                                    
======================================================================



More information about the cmake-developers mailing list